Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anhnvme/1315c0011e84d508406fd0f832c1bfe5 to your computer and use it in GitHub Desktop.
Save anhnvme/1315c0011e84d508406fd0f832c1bfe5 to your computer and use it in GitHub Desktop.
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