Forked from oussemos/add trusted certificate centos 7
Created
December 17, 2018 09:54
-
-
Save anhnvme/1315c0011e84d508406fd0f832c1bfe5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
398 update-ca-trust force-enable | |
401 update-ca-trust extract | |
403 openssl s_client -showcerts -connect github.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >mycertfile.pem | |
405 cp mycertfile.pem /etc/pki/ca-trust/source/anchors/ | |
406 update-ca-trust extract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment