I'm connected via PuTTY ssh to a Linux Server (so it's not supposed to have a GUI).
npm install something, due to some intranet network configuration, the http request is redirected as follows
npm i express npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning SELF_SIGNED_CERT_IN_CHAIN: request to https://auth-fw-dc.mycompany.com:nnnn/php/uid.php?...&url=http://registry.npmjs.org%2fexpress failed
Of course the
SELF_SIGNED_CERT_IN_CHAIN derives from the redirection to our firewall authentication web portal.
I guess it is a wrong network configuration in our intranet and the http request from npm should not be redirected to our company's firewall especially because I can't open a browser from ssh to authenticate myself there: am I guessing right or is it something I can configure on this machine with some SSH Linux commands for npm?