Version
v21.6.2
Platform
Microsoft Windows NT 10.0.19045.0 x64
Subsystem
No response
What steps will reproduce the bug?
- Add the intermediate CA certificate to trusted certs.
- Trying to connect to node.js over tls got get the below error.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
Able to connect to the server over tls with server intermediate CA certificate trusted.
What do you see instead?
I see the following error:
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
Version
v21.6.2
Platform
Microsoft Windows NT 10.0.19045.0 x64
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
Able to connect to the server over tls with server intermediate CA certificate trusted.
What do you see instead?
I see the following error: