Skip to content

Commit

Permalink
Tell Java to use our truststore
Browse files Browse the repository at this point in the history
  • Loading branch information
bstansberry committed Jul 16, 2024
1 parent c96675e commit 7d0ca2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion security/wildfly-mods/arquillian.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<container qualifier="default" default="true">
<configuration>
<property name="jbossHome">${test.wildfly.home}</property>
<property name="javaVmArguments">${debugJvmArgs} -Djboss.https.port=9443</property>
<property name="javaVmArguments">${debugJvmArgs} -Djboss.https.port=9443 -Djavax.net.ssl.trustStore=${test.wildfly.home}/standalone/configuration/client.truststore.pkcs12 -Djavax.net.ssl.trustStorePassword=changeit</property>
<property name="serverName">wildfly</property>
<property name="host">localhost</property>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions security/wildfly-mods/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<systemPropertyVariables>
<!-- Properties shared with Arquillian -->
<tck_server>${jboss.server.name}</tck_server>
<javax.net.ssl.trustStore>${env.JBOSS_HOME}/standalone/configuration/client.truststore.pkcs12</javax.net.ssl.trustStore>
</systemPropertyVariables>
<!-- Standard client side JPMS settings -->
<argLine>
Expand Down

0 comments on commit 7d0ca2e

Please sign in to comment.