Install a New Certificate

  1. Do cd /usr/share/ca-certificates
  2. Run sudo mkdir custom- create a directory called "custom"
  3. Download the CA certificate of the proxy and save it into "/usr/share/ca-certificates/custom/proxy.crt"
  4. Run sudo chmod 644 custom/proxy.crt
  5. Run sudo apt install ca-certificates
  6. Run sudo dpkg-reconfigure ca-certificates and select "All" in the prompt
  7. To test that it works, do curl --proxy <your secure proxy address>
  • This should work now. It will give you new file in /etc/ssl/certs
  1. Do systemctl restart docker