Friday, December 02, 2005

Converting pfx to pem - Converting MSFT certificate to PEM

For example:

To convert "x509.PFX.MSFT" provided by WSS4J into PEM (x509cert.pem):
$ keytool -export -alias 16c73ab6-b892-458f-abf5-2f875f74882e -keystore x509.PFX.MSFT -storetype pkcs12 -storepass security -rfc -file c:/temp/x509cert.pem

where "16c73ab6-b892-458f-abf5-2f875f74882e" is the value of "org.apache.ws.security.crypto.merlin.keystore.alias" in the crypto.properties

0 Comments:

Post a Comment

<< Home