HTTPS w/ client certificate – works in Node.js, not in Deno
I am making an HTTPS call with a client certificate. It works great in Node.js, but when I try to do the equivalent in Deno, I get a TLS handshake error. Any ideas on what I'm doing wrong?
1 Reply
Node.js version:
Deno version:
Alright, I've been trying to debug this for many hours, and it seems that the issue might be that rustls, which is backing Deno's TLS support, simply doesn't support TLS 1.2 and/or certain ciphers.
This sucks.
Is anyone else able to tell me if this is supported by rustls or not? I can't seem to find a straight answer.
Okay, so it seems that rustls will not support any cipher without "forward secrecy", whatever that is. And apparently the server I'm communicating with does not speak any ciphers that support forward secrecy.
Dammit...