Hello Krzysztof,

> javax.net.ssl.keyStore=$PATH_TO_CLIENT_CERTIFICATE/test.p12
> javax.net.ssl.keyStorePassword=my_password
> ...
> 03/25/2004 6:38:15 PM INFO  - jmeter.util: KeyStore Type: PKCS 12
> 03/25/2004 6:38:15 PM ERROR - jmeter.util: Couldn't load keystore
> java.io.IOException: Set tag error
>         at
> sun.security.util.DerInputStream.getSet(I)[Lsun.security.util.DerValue;(Der

As far as I know, pkcs12 is not supported by sun's jsse very well. For example 
it can't write files in this format (j2sdk1.5 will have this implementation 
finished). JKS is better supported format.

I'm pretty sure, that the command like:
keytool -list -keystore test.p12 -storetype PKCS12
will result the same error you've got from jmeter:
keytool error: java.io.IOException: Set tag error

You could try to clean up your keystore. Execute commands:
openssl pkcs12 -in test.p12 -clcerts -out file.pem
openssl pkcs12 -export -in file.pem -out clean.p12

and then the command
keytool -list -keystore clean.p12 -storetype PKCS12
should go without error and you can safely use it with jMeter.

best regards 
Michal Kostrzewa :)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to