If you use Sdkman to manage your Java versions, you will need to run the Charles root certificate install script for each Java version you use Default Java version Multiple Java versions
Tag Archives: Charles
Fix bug with Java VM installation script for Charles Proxy 4.5.6
I encountered an error when trying to install the Charles Proxy (4.5.6) root certificate on my Java VM. I use the 4.5.6 version because the root certificate has a 50-year expiry date. The solution for me, was to fix a typo in the installation script with a sed command. TL;DR