Skip to content

SSL certificate #63

Answered by rabelenda
roguefaction asked this question in Q&A
Jan 7, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello,

Thank you for asking this question, is a very important one in some scenarios.

Have you tried setting javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword java system properties?

Eg:

System.setProperty("javax.net.ssl.keyStore", "myKeystore.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "myPass");

In general you wouldn't need to define a truststore since jmeter by defaults trusts all keys. If you need you might try with javax.net.ssl.trustStore system property.

If setting properties programmatically (with System.setProperty) you might also try setting it in the JVM that runs the tests, for example, if you use maven:

<build>
  <plugins>
    <plugin>
      <groupId>o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@roguefaction
Comment options

Answer selected by roguefaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants