mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
fix: remove useless secureProtocol option (#1158)
This commit is contained in:
parent
239501c3d8
commit
c99266dd54
1 changed files with 1 additions and 2 deletions
3
src/lib/bootstrap.js
vendored
3
src/lib/bootstrap.js
vendored
|
@ -133,8 +133,7 @@ function displayHTTPSWarning(storageLocation) {
|
||||||
function handleHTTPS(app, configPath, config) {
|
function handleHTTPS(app, configPath, config) {
|
||||||
try {
|
try {
|
||||||
let httpsOptions = {
|
let httpsOptions = {
|
||||||
secureProtocol: 'SSLv23_method', // disable insecure SSLv2 and SSLv3
|
secureOptions: constants.SSL_OP_NO_SSLv2 | constants.SSL_OP_NO_SSLv3, // disable insecure SSLv2 and SSLv3
|
||||||
secureOptions: constants.SSL_OP_NO_SSLv2 | constants.SSL_OP_NO_SSLv3,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (config.https.pfx) {
|
if (config.https.pfx) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue