Skip to content

Instantly share code, notes, and snippets.

@Omar-Salem
Last active December 13, 2018 05:52
Show Gist options
  • Save Omar-Salem/2a442ed674a92380f365bf8f886d53dd to your computer and use it in GitHub Desktop.
Save Omar-Salem/2a442ed674a92380f365bf8f886d53dd to your computer and use it in GitHub Desktop.
sudo keytool -import -v -trustcacerts -alias charles -file /Users/omars/Downloads/charles-proxy-ssl-proxying-certificate.pem -keystore cacerts.jks -keypass changeit -storepass changeit
@sdmcraft
Copy link

-keystore cacerts.jks in the above command can be replaced by the actual location of your jre's keytstore, For e.g. -keystore /opt/jdk1.8.0_131/jre/lib/security/cacerts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment