You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With encrypted=true I expect connection to a server with a self-signed certificate to fail due to the CA not being trusted. Connecting though silently accepts the certificates.
Digging through the tls source this looks to be functionality supported by tls.tlsSocket() but not by tls.createSecurePair()
tls.createSecurePair() is deprecated as of node 6.x ( previously reported in #135 ) and so this might be good time to look at migrating over to using tls.tlsSocket as it will allow for connections to reject if unauthorised.
With encrypted=true I expect connection to a server with a self-signed certificate to fail due to the CA not being trusted. Connecting though silently accepts the certificates.
Digging through the tls source this looks to be functionality supported by
tls.tlsSocket()
but not bytls.createSecurePair()
tls.createSecurePair()
is deprecated as of node 6.x ( previously reported in #135 ) and so this might be good time to look at migrating over to using tls.tlsSocket as it will allow for connections to reject if unauthorised.This may be considered a duplicate of #282
The text was updated successfully, but these errors were encountered: