Default https protocol on https.request()

59 views
Skip to first unread message

Aaron Seet

unread,
Apr 28, 2015, 11:35:34 AM4/28/15
to nod...@googlegroups.com
Looking at plain code samples, if one does not explicitly specify the secureProtocol option, what is the default protocol use by the request client when invoking https.request() ?

mscdex

unread,
Apr 28, 2015, 6:14:35 PM4/28/15
to nod...@googlegroups.com
On Tuesday, April 28, 2015 at 11:35:34 AM UTC-4, Aaron Seet wrote:
Looking at plain code samples, if one does not explicitly specify the secureProtocol option, what is the default protocol use by the request client when invoking https.request() ?

The documentation[1] states that SSLv2 and SSLv3 are disabled by default, so the default would be the next available protocol version, TLSv1.

[1] https://nodejs.org/docs/latest/api/tls.html#tls_protocol_support

Aaron Seet

unread,
May 1, 2015, 8:01:59 AM5/1/15
to nod...@googlegroups.com
Righto, thanks for the confirmation.
Reply all
Reply to author
Forward
0 new messages