mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
crypto: allow runtime opt in using SSLv2/SSLv3
This change disables SSLv2/SSLv3 use by default, and introduces a command line flag to opt into using SSLv2/SSLv3. SSLv2 and SSLv3 are considered unsafe, and should only be used in situations where compatibility with other components is required and they cannot be upgrade to support newer forms of TLS.
This commit is contained in:
1 parent
c1f4aacc75
commit
d601c76f4d
10 files changed
+299
-7
No files matched your search
@@ -126,8 +126,8 @@ The following options from [tls.connect()][] can also be specified. However, a
|
||||
the list of supplied CAs. An `'error'` event is emitted if verification
|
||||
fails. Verification happens at the connection level, *before* the HTTP
|
||||
request is sent. Default `true`.
|
||||
- `secureProtocol`: The SSL method to use, e.g. `SSLv3_method` to force
|
||||
SSL version 3. The possible values depend on your installation of
|
||||
- `secureProtocol`: The SSL method to use, e.g. `TLSv1_method` to force
|
||||
TLS version 1. The possible values depend on your installation of
|
||||
OpenSSL and are defined in the constant [SSL_METHODS][].
|
||||
|
||||
In order to specify these options, use a custom `Agent`.
|
||||
|
||||
Reference in new issue
Block a user