node-nntp icon indicating copy to clipboard operation
node-nntp copied to clipboard

Pass servername to TLS

Open davebond opened this issue 11 years ago • 0 comments

Fixes error:

Error: Hostname/IP doesn't match certificate's altnames: "Host: null. is not in the cert's altnames:......

When passing a socket to tls.connect, the host is ignored and stops the certificate being matched.

davebond avatar Jan 12 '15 21:01 davebond