Skip to content

Instantly share code, notes, and snippets.

@andreevmipt
Created March 4, 2019 09:12
Show Gist options
  • Save andreevmipt/4f17f049e041e3ff3cdb767678f41695 to your computer and use it in GitHub Desktop.
Save andreevmipt/4f17f049e041e3ff3cdb767678f41695 to your computer and use it in GitHub Desktop.
GIT_SSL_NO_VERIFY = true
MAVEN_MIRROR_URL = <URL>
maven
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
MAVEN_OPTS = -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true -Djavax.net.ssl.trustStore=<custom cacerts file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment