So, I was having an issue earlier today where my client, written in node
, was barfing because the server I was connecting to used self signed certs. So, I went and added the option rejectUnauthorized: false
to my tls.connect
command like any unwitting developer would do.
My question is now, what the hell does this mean for me? Is my TLS connection just a vanilla TCP connection that can also possibly be a TLS connection? Is writing this as a TLS stream totally useless?
More importantly, that server, you know the one with the self-signed certs? Is my stream between here and there actually encrypted?