Skip to content

Instantly share code, notes, and snippets.

@gokman
Created August 30, 2018 09:27
Show Gist options
  • Save gokman/b2cc03995b828c6ca179634a5b0214f4 to your computer and use it in GitHub Desktop.
Save gokman/b2cc03995b828c6ca179634a5b0214f4 to your computer and use it in GitHub Desktop.
import certificate to java
sudo keytool -importcert -alias dev -file xxx.crt
-keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/security/cacerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment