Skip to content

Instantly share code, notes, and snippets.

@iambryancs
Created October 17, 2023 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iambryancs/42bee9a8ff8bedc4a9e8f3a2d70091ce to your computer and use it in GitHub Desktop.
Save iambryancs/42bee9a8ff8bedc4a9e8f3a2d70091ce to your computer and use it in GitHub Desktop.
Install CA - Ubuntu

Install root CA in PEM format

To install a root CA, do

$ sudo apt-get install -y ca-certificates
$ sudo cp local-ca.crt /usr/local/share/ca-certificates
$ sudo update-ca-certificates

The CA trust store location

  • /etc/ssl/certs/ca-certificates.crt - single file (PEM bundle)
  • /etc/ssl/certs - OpenSSL compatible cert directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment