Skip to content

Instantly share code, notes, and snippets.

@navinthenapster
Last active March 21, 2019 09:35
Show Gist options
  • Save navinthenapster/a1993dfabe92e7b8337ada02c7189469 to your computer and use it in GitHub Desktop.
Save navinthenapster/a1993dfabe92e7b8337ada02c7189469 to your computer and use it in GitHub Desktop.
To import Proxy Certficate of an organization and to access website by importing authorized certifcates
sudo openssl x509 -inform DER -in certificate.cer -out certificate.crt
sudo mv certificate.crt /usr/share/ca-certificates/
sudo mv certificate.crt /usr/local/share/ca-certificates/
cd /usr/share/ca-certificates
sudo chmod 644 certificate.crt
sudo dpkg-reconfigure ca-certificates
sudo update-ca-certificates
@navinthenapster
Copy link
Author

navinthenapster commented Mar 6, 2019

In case of broken ca-certificates

sudo

sudo apt-get remove --purge ca-certificates
                      (or)
sudo apt-get --reinstall install ca-certificates
sudo apt install ca-certificates -f 

@navinthenapster
Copy link
Author

navinthenapster commented Mar 21, 2019

In case of problem persistance.

sudo apt-get autoremove
sudo apt-get upgrade

All the packages should be install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment