Skip to content

Unable to specify custom trust store via JVM arguments #1547

@Tiemen92

Description

@Tiemen92

Affected version

1.0.3

Bug description

I did a manual install on RHEL by extracting the zip of version 1.0.3.
I specified my custom trust store JVM arguments already in different places: $MVND_HOME/conf/mvnd.properties, ~/.m2/mvnd.properties
I put the following property:
mvnd.jvmArgs = -Djavax.net.ssl.trustStore=/home/user/trust/truststore.jks -Djavax.net.ssl.trustStoreType=JKS -Djavax.net.ssl.trustStorePassword=<password>

I also tried to provide the -Dmvnd.jvmArgs="-Djavax.ssl.... " property to the 'mvnd' command directly.
But whatever I do, the trust store is not getting picked up by the daemon and my build keeps failing with an PKIX error.
I've made sure that I stopped the daemon before modifying the properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions