Atom代理配置不起作用:证书链中的错误自签名证书

Kat*_*tie 7 atom-editor

我一直在尝试我在网上找到的所有例子,但无法让它发挥作用.当我尝试安装或搜索软件包时,我会获得"证书链中的自签名证书".这是我尝试过的:

命令行尝试:

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
Run Code Online (Sandbox Code Playgroud)

内容~/.atom/.apmrc:

http-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
https-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
strict-ssl=false
Run Code Online (Sandbox Code Playgroud)

添加配置到~/.bashrc:

#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" > ~/.atom/.apmrc
echo "https-proxy=http://$username:$password@$proxy" >> ~/.atom/.apmrc
echo "strict-ssl=false" >> ~/.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
Run Code Online (Sandbox Code Playgroud)

输出 apm config list

`-->$ 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.
Run Code Online (Sandbox Code Playgroud)

我已经尝试了上述所有内容,但是当我打开atom时,在尝试安装或搜索任何包时出现以下错误:

证书链中的自签名证书

但是,我可以通过命令行界面使用安装软件包apm install file-icons,但GUI不允许我安装.

如何配置atom以便忽略GUI中的自签名证书?