Bug 65687 - Unable to add .p12 certificate with keystore password
Summary: Unable to add .p12 certificate with keystore password
Status: RESOLVED INVALID
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.4
Hardware: PC All
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 11:15 UTC by venkatesh
Modified: 2021-11-20 20:20 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description venkatesh 2021-11-17 11:15:13 UTC
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 in to .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 in the keystore password, under the system.property file there is no any keystore password saved.



Please assist me how I can execute these API request frm Jmeter
Comment 1 Philippe Mouawad 2021-11-20 20:20:00 UTC
Hello,
please ask this on the user mailing list.
Thank you