Install a New Certificate
- Do
cd /usr/share/ca-certificates
- Run
sudo mkdir custom
- create a directory called "custom" - Download the CA certificate of the proxy and save it into "/usr/share/ca-certificates/custom/proxy.crt"
- Run
sudo chmod 644 custom/proxy.crt
- Run
sudo apt install ca-certificates
- Run
sudo dpkg-reconfigure ca-certificates
and select "All" in the prompt - To test that it works, do
curl --proxy <your secure proxy address> https://api.intsights.com/test-connection
- This should work now. It will give you new file in /etc/ssl/certs
- Do systemctl restart docker
Did this page help you?