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
{{ message }}
Repository navigation
Fix rejectUnauthorized: undefined in tls.connect, requestCert in tls.createServer #5917
tls.connect treats rejectUnauthorized !== true as a false value, even more rejectUnauthorized: undefined is treated as a false. Clearly it should be completely reversed, only when rejectUnauthorized is false - it should be disabled. (This is semver-major)
tls.createServer should change default value of requestCert to true. (Note: we should verify that it still works 😉 ) (semver-major as well)
Activity
bnoordhuis commentedon Mar 27, 2016
Did you mean
rejectUnauthorized?requestCertis for making the server request client certificates.ghaiklor commentedon Mar 27, 2016
@indutny can I remove
_tls_legacy.jsas well? Since is semver-major change.jhamhader commentedon Mar 27, 2016
@ghaiklor @indutny see #5924
ghaiklor commentedon Mar 27, 2016
@jhamhader see #5923 . Your PR has conflicts, better to split removing
_tls_legacyand usability fixes to different PR.UPD: I see, conflicts resolved.
addaleax commentedon Apr 30, 2017
I think this is fixed now that #5923 has landed, feel free to re-open if I’m mistaken.