Any one know how to do this ?
Java Applications
You can add the Charles CA Certificate to your root certificate trust store in Java, then all Java applications will trust the certificates that Charles issues.
Note that you may need to do this each time you upgrade your Java installation.
First find the cacerts file, it should be in your JAVA_HOME/jre/lib/security/cacerts, where JAVA_HOME is your java home directory for the JVM you’re using.
Note: On Mac OS X your must download and unzip the Charles CA Certificate bundle to get the charles-proxy-ssl-proxying-certificate.crt file required below. You will need to change the path to charles-proxy-ssl-proxying-certificate.crt accordingly. After importing you can delete the .crt file.
Then type (substituting for JAVA_HOME and CHARLES_DIR): keytool -import -alias charles -file CHARLES_DIR/docs/charles-proxy-ssl-proxying-certificate.crt -keystore JAVA_HOME/jre/lib/security/cacerts -storepass changeit
(changeit is the default password on the cacerts file)
Then try: keytool -list -keystore JAVA_HOME/jre/lib/security/cacerts -storepass changeit
If you have multiple Java installations you may need to work out which ones you’re using to run your application and do this on the appropriate one. Or do it on all of your Java installations.
MY PROBLEM IS THIS :
Then type (substituting for JAVA_HOME and CHARLES_DIR): keytool -import -alias charles -file CHARLES_DIR/docs/charles-proxy-ssl-proxying-certificate.crt -keystore JAVA_HOME/jre/lib/security/cacerts -storepass changeit
HOw to do that?
Please teach me






