title: Nexus: SSL issue logging into NPM repository behind Nginx proxy
body: <p>I have Nexus 3 set up behind an Nginx proxy. A private root CA was set up to issue certs for the internal network and this all works fine to securely load the nexus website.</p>
  
  <p>I created a private NPM repository and now I'm trying to login with NPM. Initially when I tried to login I got the error <code>UNABLE_TO_VERIFY_LEAF_SIGNATURE</code>. This seemed to be related to the fact that NPM didn't know about the root CA that issued the Nexus cert (there is no intermediate CA in this case). So I specified the CA certificate in the NPM configuration with </p>
  
  <p><code>npm config set cafile rootCA.pem</code></p>
  
  <p>Now when I try to login with NPM I get the error <code>UNABLE_TO_GET_ISSUER_CERT</code>.</p>