title: Serverless Framework Login From Behind a Proxy?
body: <p>I am trying to use the <a href="https://serverless.com/" rel="nofollow noreferrer">serverless framework</a> from behind a proxy.  </p>
  
  <p>I was able to install the framework after configuring <code>npm</code> to use my certs file:</p>
  
  <pre><code>npm config set cafile C:\path\to\certs.pem
  
  npm install serverless --global
  </code></pre>
  
  <p>However, when I try to login to serverless I get the following error:</p>
  
  <pre><code>serverless login
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>Fetch Error --------------------------------------------</p>
      
      <p>FetchError: request to <a href="https://api.serverless.com/core/tokens" rel="nofollow noreferrer">https://api.serverless.com/core/tokens</a> failed, reason: unable to get local issuer certificate
            at ClientRequest. (D:\...\npm\node_modules\serverless\node_modules\node-fetc
      h\index.js:133:11)</p>
    </blockquote>
  </blockquote>
  
  <p><strong>How do I set the certs file to be able to login to serverless?</strong></p>
  
  <p>Thank you in advance for your consideration and response.</p>