title: Atom Proxy Configuration Not Working: error self signed certificate in certificate chain
body: <p>I've been trying all the examples I found online, but couldn't get it to work. When I try to install or search for a package, I get "self signed certificate in certificate chain". Here's what I've tried:</p>
  
  <p><strong>Command line attempts:</strong></p>
  
  <pre><code>apm config set strict-ssl false
  apm config set http-proxy http://katie:fakepassword@fakeproxy.company.com:8080
  apm config set https-proxy http://katie:fakepassword@fakeproxy.company.com:8080
  # I then start atom using this terminal window like this:
  atom
  </code></pre>
  
  <p><strong>Contents of <code>~/.atom/.apmrc</code>:</strong></p>
  
  <pre><code>http-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
  https-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
  strict-ssl=false
  </code></pre>
  
  <p><strong>Adding configuration to <code>~/.bashrc</code>:</strong></p>
  
  <pre><code>#I also added these configuration lines to my ~/.bashrc to ensure my configuration is kept for every new terminal:
  username="katie"
  password="fakepassword"
  proxy="fakeproxy.company.com:8080"
  echo "http-proxy=http://$username:$password@$proxy" &gt; ~/.atom/.apmrc
  echo "https-proxy=http://$username:$password@$proxy" &gt;&gt; ~/.atom/.apmrc
  echo "strict-ssl=false" &gt;&gt; ~/.atom/.apmrc
  apm config set strict-ssl false
  apm config set http-proxy http://$username:$password@$proxy
  apm config set https-proxy http://$username:$password@$proxy
  </code></pre>
  
  <p><strong>Output of <code>apm config list</code></strong></p>
  
  <pre><code>`--&gt;$ apm config list
  ; cli configs
  globalconfig = "/home/katie/.atom/.apm/.apmrc"
  user-agent = "npm/3.10.10 node/v6.9.5 linux x64"
  userconfig = "/home/katie/.atom/.apmrc"
  
  ; environment configs
  node-gyp = "/usr/share/atom/resources/app/apm/bin/../node_modules/.bin/node-gyp"
  python = "/usr/share/atom/resources/app/apm/bin/python-interceptor.sh"
  
  ; userconfig /home/katie/.atom/.apmrc
  http-proxy = "http://katie:fakepassword@fakeproxy.company.com:8080"
  https-proxy = "http://katie:fakepassword@fakeproxy.company.com:8080/"
  strict-ssl = false
  
  ; globalconfig /home/katie/.atom/.apm/.apmrc
  cache = "/home/katie/.atom/.apm"
  progress = false
  
  ; node bin location = /usr/share/atom/resources/app/apm/bin/node
  ; cwd = /home/katie/DRIVES/H
  ; HOME = /home/katie/.atom/.node-gyp
  ; "npm config ls -l" to show all defaults.
  </code></pre>
  
  <p>I've tried all of the above and still when I open atom, I get the following error when trying to install or search for any packages:</p>
  
  <p><a href="https://i.stack.imgur.com/TtPRw.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/TtPRw.jpg" alt="self signed certificate in certificate chain"></a></p>
  
  <p>However, <strong>I am able to install packages through the command line</strong> interface using <code>apm install file-icons</code>, but the <em>GUI</em> does not allow me to install. </p>
  
  <p><strong>How do I configure atom so that it ignores self signed certificates in the GUI?</strong></p>