Last active
August 3, 2021 09:35
-
-
Save PickledDragon/dfed73093695f4d20f97ec20496c4449 to your computer and use it in GitHub Desktop.
Configure IntelliJ IDEA to use self-signed certificates for license servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What: Configure IntelliJ IDEA to use self-signed certificates for license servers | |
Background: Current employer hasan IntelliJ license server hosted at https://intellij.employer.domain and uses a proxy with self-signed inspection proxy(Pretty much MITM) | |
Solution: | |
1. Download the root CA, intermediate CA and inspection CA certificates from the employer's PKI registry | |
2. Go to `/Applications/IntelliJ\ IDEA.app/Contents/jbr/Contents/Home` (Tested for 2021.3 version) | |
3. Get an elevated prompt | |
4. Add root CA | |
bin/keytool -import -trustcacerts -cacerts -storepass changeit -noprompt -alias employer-root-ca -file ~/Downloads/rootg3_bin.cer | |
5. Repeast the same for inspection certificate and intermediate certificate | |
TODO: Convert to a shell script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment