Skip to content

Instantly share code, notes, and snippets.

@FelixKohlen
Last active January 23, 2024 18:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save FelixKohlen/775429172a1f20ca0afcc88fc490e935 to your computer and use it in GitHub Desktop.
Save FelixKohlen/775429172a1f20ca0afcc88fc490e935 to your computer and use it in GitHub Desktop.
Use these settings to tell a java application, like eclipse or maven, to use the root certificates installed into the windows certificate store. Usefull if you are behind a company proxy which is intercepting HTTPS traffic and your java applications are refusing the certificates.
-Djavax.net.ssl.keyStore=NONE
-Djavax.net.ssl.keyStoreType=Windows-my
-Djavax.net.ssl.trustStore=NONE
-Djavax.net.ssl.trustStoreType=Windows-ROOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment