You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#349 for some reason introduces a regression of a feature that seems to once work. https.pfx option is currently being ignored because of the following if statement:
if (!config.https || !config.https.key || !config.https.cert || !config.https.ca)
which was committed instead of the code that once worked:
if (!config.https || !((config.https.key && config.https.cert && config.https.ca) || config.https.pfx))
Currently we only check if there is key, cert and ca options and if not a warning is shown and the process exits.
To Reproduce
Steps to reproduce the behavior:
Create a PFX file and add it according to the documentation
Run verdaccio
An error is shown:
'You have enabled HTTPS and need to specify either ',
' "https.key", "https.cert" and "https.ca" or ',
' "https.pfx" and optionally "https.passphrase" ',
'to run https server'
Expected behavior
We should check if the configuration has a key, cert and ca OR a pfx file.
The text was updated successfully, but these errors were encountered:
#349 for some reason introduces a regression of a feature that seems to once work. https.pfx option is currently being ignored because of the following if statement:
if (!config.https || !config.https.key || !config.https.cert || !config.https.ca)
which was committed instead of the code that once worked:
if (!config.https || !((config.https.key && config.https.cert && config.https.ca) || config.https.pfx))
Currently we only check if there is key, cert and ca options and if not a warning is shown and the process exits.
To Reproduce
Steps to reproduce the behavior:
'You have enabled HTTPS and need to specify either ',
' "https.key", "https.cert" and "https.ca" or ',
' "https.pfx" and optionally "https.passphrase" ',
'to run https server'
Expected behavior
We should check if the configuration has a key, cert and ca OR a pfx file.
The text was updated successfully, but these errors were encountered: