Skip to content

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

@SiKing

Description

@SiKing

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions