Install a New Certificate
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"
sudo chmod 644 custom/proxy.crt
sudo apt install ca-certificates
sudo dpkg-reconfigure ca-certificatesand 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?