Created
February 4, 2016 11:04
-
-
Save ianchen06/4e447287586c52aca0cf to your computer and use it in GitHub Desktop.
Add custom Root CA to system file using OpenSSL
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
#!/bin/bash | |
# Replace <yourCA> with the filename | |
# The output will be in the same format as ones in ca-bundle.crt | |
openssl x509 -in <yourCA>.crt -text >> /usr/share/ssl/certs/ca-bundle.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment