vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

Upon start of the debug getting CRRDG1121E tag type 45

Open egrabski opened this issue 1 year ago • 6 comments

Getting error Illegal base64 character 5f EQARD1007I The Remote Debug Service daemon started on port 8001. CRRDG1121E Debug Secure Daemon failed to start. Reason: toDerInputStream rejects tag type 45 Opened case with IBM to verify its not a problem with the system. Re-created all the steps from the walkthrough. IBM support said type 45 means expired certificates but they were just created . We are on OS 7.4 and PTF SI83683 and SI81031 are applied. @ 2023-12-07_16-39-17

2023-12-07_16-16-02

egrabski avatar Dec 07 '23 21:12 egrabski

Is this still being worked on?

ToshBimbra avatar Dec 26 '23 19:12 ToshBimbra

I still have the problem.

egrabski avatar Dec 27 '23 18:12 egrabski

@worksofliam any thoughts on what is failing here

ToshBimbra avatar Dec 27 '23 18:12 ToshBimbra

@mkwan01 any ideas here?

worksofliam avatar Jan 05 '24 00:01 worksofliam

This message normally means that the certificate is not valid. The certificate creation is not done in the debugger itself. It is handled by code for i.

@worksofliam Do you know which file in the screen capture is set as the DEBUG_SERVICE_KEYSTORE_FILE environment variable value?

mkwan01 avatar Jan 05 '24 15:01 mkwan01

On my system, I can see that if the client certificate (the .crt file) is used on the host, then it would generate the "toDerInputStream rejects tag type 45" message. Please make sure that the .pfx file is used as the host keystore.

mkwan01 avatar Jan 22 '24 19:01 mkwan01

Code for IBM i 2.9.0 contains a number of fixes for certificate generation. Please reopen the issue if you can still reproduce the problem in 2.9.0.

mkwan01 avatar Apr 15 '24 20:04 mkwan01