I have a p12
file, which is needed to execute tests.
I added following lines to system.properties
file.
javax.net.ssl.keyStoreType=pkcs12
javax.net.ssl.keyStore=C:\certs\certificate.p12
javax.net.ssl.keyStorePassword=certificate_password
It was not working, so I created jks
file from certificate with keytool
and set it in the same file.
javax.net.ssl.keyStore=C:\certs\keystore.jks
javax.net.ssl.keyStorePassword=certificate_password
I used CSV Data Set Config
to set also alias, which is used in Keystore Configuration
component, but not sure, what should be stored in csv data file, how to provide key aliasses. Options -> SSL Manager
stores certificates until JMeter is closed, doesn't store those permanently.