1. You don't need to convert the keystore from .p12 to .jks, JMeter can
   read both formats, JMeter tries to guess the format from the file
   extension, but you can also explicitly set it using
   *javax.net.ssl.trustStoreType***system property
   
<https://www.ibm.com/docs/en/sdk-java-technology/7?topic=customization-customizing-default-key-trust-stores-store-types-store-passwords>
2. The error you're getting means that you're failing to supply the
   password
   
<https://stackoverflow.com/questions/44830270/keytool-error-java-io-ioexception-keystore-password-was-incorrect>
   *for the original keystore* (rnd100_client.p12) so double check the
   password you're using.

More information: How to Set Your JMeter Load Test to Use Client Side Certificates <https://www.blazemeter.com/blog/how-set-your-jmeter-load-test-use-client-side-certificates>


On 11/24/2021 7:45 AM, Venkatesh N wrote:

Hello Jmeter expertise,

I need to execute API request from Jmeter, which required the .p12 certificate.

In jmeter using the keytool command need to convert the .p12 file into .jks file, but while converting observing error

keytool -importkeystore -srckeystore rnd100_client.p12 -srcstoretype pkcs12 -destkeystore key.jks -deststoretype jks

Importing keystore rnd100_client.p12 to key.jks...

Enter destination keystore password: xxxxxx

Re-enter new password: xxxxxxx

Enter source keystore password: xxxxxx

keytool error: java.io.IOException: keystore password was incorrect

Which is the keystore password, under the system.property file there is no keystore password saved.

Thanks,

Venkatesh. N

A picture containing object Description automatically generated**

www.moviuscorp.com

Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.

Reply via email to