Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save webee/bb27249e17fbf328a3cbd36a787d5752 to your computer and use it in GitHub Desktop.
Save webee/bb27249e17fbf328a3cbd36a787d5752 to your computer and use it in GitHub Desktop.
Ubuntu - Adding CA Certs

#Ubuntu - Adding CA Certs

To add new Certificate Authority (CA) certs:

  1. Create a directory (ie extra) in the ca-certs to hold the new certs

    sudo mkdir /usr/share/ca-certificates/extra

  2. Copy or move the certs into the new directory

    sudo cp *.crt /usr/share/ca-certiciates/extra

  3. Tell ubuntu to add this directory to the certs list

    sudo dpkg-reconfigure ca-certificates

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