Posts Linux install ca or root cert
Post
Cancel

Linux install ca or root cert

  • Make directory for extra certs
1
$ sudo mkdir /usr/share/ca-certificates/extra
  • Incase of pem file convert it to cer
1
$ openssl x509 -in root.pem -inform PEM -out root.crt
  • copy your cert to the extra directory
1
$ sudo cp root.crt /usr/share/ca-certificates/extra/root.crt
  • install the cert
1
2
3
4
5
$ sudo dpkg-reconfigure ca-certificates

$ # or for non-interactive

$ sudo update-ca-certificates
This post is licensed under CC BY 4.0 by the author.