Skip to content

Instantly share code, notes, and snippets.

@yegorgavrilov
Created September 6, 2018 08:32
Show Gist options
  • Save yegorgavrilov/5ec32411a6267af55da793439786a3a8 to your computer and use it in GitHub Desktop.
Save yegorgavrilov/5ec32411a6267af55da793439786a3a8 to your computer and use it in GitHub Desktop.
Install trusted root certificate
## Debian/Ubuntu
cp ~/ca.crt /usr/local/share/ca-certificates/
update-ca-certificates
## CentOS/RHEL
yum install ca-certificates
update-ca-trust force-enable
cp ~/ca.crt /etc/pki/ca-trust/source/anchors/
update-ca-trust extract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment