0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00

Fix #189 ca safety check is missing

This commit is contained in:
Juan Picado 2017-05-12 09:29:22 +02:00
parent 54481095ce
commit 4b9af22c95
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -115,7 +115,7 @@ function afterConfigLoad() {
let webServer;
if (addr.proto === 'https') { // https
if (!config.https || !config.https.key || !config.https.cert) {
if (!config.https || !config.https.key || !config.https.cert || !config.https.ca) {
let conf_path = function(file) {
if (!file) return config_path;
return Path.resolve(Path.dirname(config_path), file);