Skip to content

Instantly share code, notes, and snippets.

@ianchen06
Created February 4, 2016 11:04
Show Gist options
  • Save ianchen06/4e447287586c52aca0cf to your computer and use it in GitHub Desktop.
Save ianchen06/4e447287586c52aca0cf to your computer and use it in GitHub Desktop.
Add custom Root CA to system file using OpenSSL
#!/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