Add charles certificate to JVM

This is an example how to do that on a Mac:

 

Add charles ssl proxy certificates to JDK on a mac

First you need to run charles and enable SSL proxying. The see which JDK is used by your application and add the certificate to the cacerts file:

 

Posted in Mac