We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose pdf java library failed to extract signature on Linux only with invalid PFX version error

When extracting signature from a pdf file, it gives the following error on Linux only, while on windows it works fine with exact same version of JDK, aspose jar and pdf file.

Caused by: class com.aspose.pdf.internal.ms.System.lh: invalid PFX version
com.aspose.pdf.internal.l75p.lv.lj(Unknown Source)
com.aspose.pdf.internal.l75p.lv.(Unknown Source)
com.aspose.pdf.internal.l68j.ly.lf(Unknown Source)
com.aspose.pdf.internal.l68j.ly.lI(Unknown Source)
com.aspose.pdf.internal.l68j.ly.lI(Unknown Source)
com.aspose.pdf.internal.l68j.l0if.lI(Unknown Source)
com.aspose.pdf.SignatureField.lI(Unknown Source)
com.aspose.pdf.SignatureField.l1l(Unknown Source)
com.aspose.pdf.SignatureField.extractCertificate(Unknown Source)
com.aspose.pdf.facades.PdfFileSignature.lf(Unknown Source)
com.aspose.pdf.facades.PdfFileSignature.extractCertificate(Unknown Source)

All version from 22 up to the latest 23.1 have the same issue. But old version 20.8 works fine.


Could you please share your sample PDF document for our reference along with the code snippet that you are using? We will test the scenario in our environment and address it accordingly.

AsposeSignatureError.zip (20.7 KB)
siged.pdf (28.9 KB)
Attached is the java code and the pdf used for testing.


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-42482

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.


We did purchase enterprise support with our Aspose Total Family license.
Our Aspose Order ID: 220713203749

How can we get access to the paid support? what credential shall we use?


Chunqing Lin


You can login into Paid Support platform using the same email address which was used to purchase the subscription. Please create a post there with the reference to the ticket ID. Your ticket will be escalated accordingly.

Is there any way to create a secondary login? The email used to purchase the subscription belong to a non technical manager.


Please create an inquiry in Purchase forum for your login related concerns. You will be assisted there accordingly.