npm-cli-login icon indicating copy to clipboard operation
npm-cli-login copied to clipboard

Expose ssl.strict configuration

Open nickgrealy opened this issue 6 years ago • 3 comments

Allow setting the ssl.strict flag on the underlying npm-registry-client, to allow publishing to repositories with self-signed certificates.

This is facilitated, by setting the environment variable NCL_SSL_STRICT to false.

e.g.

export NCL_SSL_STRICT=false
npm-cli-login -u admin -p admin123 -e [email protected] -r https://repo/repository/npm-internal

(Ideally it would be better to expose all settings, specifically ssl.ca, and not just skipping ssl verification, but I'll leave that for another day.)

nickgrealy avatar May 23 '18 14:05 nickgrealy

Er... can anyone help?

image

nickgrealy avatar May 23 '18 14:05 nickgrealy

@nickgrealy can you rebase on the latest master?

czardoz avatar Jan 26 '19 18:01 czardoz

Any news on this?

muety avatar May 28 '20 08:05 muety