|
@ -40,24 +40,22 @@ To create .pfx or .p12, do this: |
|
|
|
|
|
|
|
|
## Protocol support |
|
|
## Protocol support |
|
|
|
|
|
|
|
|
Node.js is compiled with SSLv2 and SSLv3 protocol support by default, but these |
|
|
Node.js is compiled with SSLv3 protocol support by default, but these |
|
|
protocols are **disabled**. They are considered insecure and could be easily |
|
|
protocols are **disabled**. They are considered insecure and could be easily |
|
|
compromised as was shown by [CVE-2014-3566][]. However, in some situations, it |
|
|
compromised as was shown by [CVE-2014-3566][]. However, in some situations, it |
|
|
may cause problems with legacy clients/servers (such as Internet Explorer 6). |
|
|
may cause problems with legacy clients/servers (such as Internet Explorer 6). |
|
|
If you wish to enable SSLv2 or SSLv3, run node with the `--enable-ssl2` or |
|
|
If you wish to enable SSLv3, run node with the `--enable-ssl3` flag. In future |
|
|
`--enable-ssl3` flag respectively. In future versions of Node.js SSLv2 and |
|
|
versions of Node.js SSLv3 will not be compiled in by default. |
|
|
SSLv3 will not be compiled in by default. |
|
|
|
|
|
|
|
|
|
|
|
There is a way to force node into using SSLv3 or SSLv2 only mode by explicitly |
|
|
There is a way to force node into using SSLv3 only mode by explicitly |
|
|
specifying `secureProtocol` to `'SSLv3_method'` or `'SSLv2_method'`. |
|
|
specifying `secureProtocol` to `'SSLv3_method'`. |
|
|
|
|
|
|
|
|
The default protocol method Node.js uses is `SSLv23_method` which would be more |
|
|
The default protocol method Node.js uses is `SSLv23_method` which would be more |
|
|
accurately named `AutoNegotiate_method`. This method will try and negotiate |
|
|
accurately named `AutoNegotiate_method`. This method will try and negotiate |
|
|
from the highest level down to whatever the client supports. To provide a |
|
|
from the highest level down to whatever the client supports. To provide a |
|
|
secure default, Node.js (since v0.10.33) explicitly disables the use of SSLv3 |
|
|
secure default, Node.js (since v0.10.33) explicitly disables the use of SSLv3 |
|
|
and SSLv2 by setting the `secureOptions` to be |
|
|
by setting the `secureOptions` to be `SSL_OP_NO_SSLv3` (again, unless you have |
|
|
`SSL_OP_NO_SSLv3|SSL_OP_NO_SSLv2` (again, unless you have passed |
|
|
passed `--enable-ssl3`, or `SSLv3_method` as `secureProtocol`). |
|
|
`--enable-ssl3`, or `--enable-ssl2`, or `SSLv3_method` as `secureProtocol`). |
|
|
|
|
|
|
|
|
|
|
|
If you have set `secureOptions` to anything, we will not override your |
|
|
If you have set `secureOptions` to anything, we will not override your |
|
|
options. |
|
|
options. |
|
|