File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes PFX to JKS Conversion error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "PFX to JKS Conversion error" Watch "PFX to JKS Conversion error" New topic

PFX to JKS Conversion error

Ravikumar Jambunathan
Ranch Hand

Joined: Aug 25, 2003
Posts: 66
Hi Experts,

I have a Java program which converts a PFX key store (generated in another system) into Java key store. The Java key store will be referenced by the application from AIX. The program and conversion was working fine all along. However, when i try to convert the key store renewed recently, i am getting below exception. Error in loading the keystore: Error decoding X.509 CRL from encoding. at Source) at at ConvertPKCS12ToJKS.main(

However, there is no problem in converting the same PFX file in Windows. Here is the log.

Input keystore file = D:/EclipseProjects/GW.pfx_ExportfromIE_Jan
Output keystore file = D:/EclipseProjects\bolero_keystore.jks
Input keystore password = test2
Output keystore password = password
Keystore provider name = Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
Keystore converstion complete.

But, when i try to check the converted key store in AIX using key tool command, it fails opening with the below keytool error

keytool error (likely untranslated): DerValue.getIA5String, not IA5 30

I have already applied the more relaxed security jar files from IBM, still the problem persists.

I am using Java 1.5

Can somebody help on this please?
Thanks in advance for your help.

I agree. Here's the link:
subject: PFX to JKS Conversion error
It's not a secret anymore!