Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to pass javax.net.ssl.trustStore into the plugin #75

Open
SiKing opened this issue Jan 12, 2018 · 0 comments
Open

unable to pass javax.net.ssl.trustStore into the plugin #75

SiKing opened this issue Jan 12, 2018 · 0 comments

Comments

@SiKing
Copy link

SiKing commented Jan 12, 2018

At my work, secops uses SSL packet inspection - all machines (browsers) had to have an internal certificate installed in order to be able to get to secure websites.

Specifically in Maven, I have to pass in -Djavax.net.ssl.trustStore=trust.jks -Djavax.net.ssl.trustStorePassword=pass in order to get Maven to download dependencies from secure sites. The easy way to do this is to specify it in $HOME/.mavenrc.

selenium-standalone-server-plugin ignores the above Maven options, and there is no way for me to pass this into the plugin. The resulting error is:

[ERROR] Failed to execute goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.16:selenium (default) on project integrationtests: Failed to download all of the standalone executables: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant