Skip to content

Instantly share code, notes, and snippets.

View zsnmwy's full-sized avatar
💭
I may be slow to respond.

zsnmwy

💭
I may be slow to respond.
View GitHub Profile
@zsnmwy
zsnmwy / add CA cert on CentOS Debian Ubuntu.md
Last active June 20, 2019 14:49 — forked from kekru/add CA cert on CentOS Debian Ubuntu.md
Add CA cert to local trust store on CentOS, Debian or Ubuntu
  • Open a webpage that uses the CA with Firefox
  • Click the lock-icon in the addressbar -> show information -> show certificate
  • the certificate viewer will open
  • click details and choose the certificate of the certificate-chain, you want to import to CentOS
  • click "Export..." and save it as .crt file
  • Copy the .crt file to /etc/pki/ca-trust/source/anchors on your CentOS machine
  • run update-ca-trust extract
  • test it with wget https://thewebsite.org