Menu

#15 Certificate not recognized

v1.1.1
closed
None
5
2011-01-11
2010-12-31
Billy A.
No

Hi!
I have a .p12 certificate (PKCS12) but when I try to use it I get:
Certificate ................. contains critical extension with OID "2.5.29.19" which is not recognized by JSignPdf - skipping.
Is this a problem of JSignPdf or Java?

Discussion

  • Billy A.

    Billy A. - 2011-01-01

    Actually, the full message is this:
    Starting PDF Signer
    Checking input and output PDF paths.
    Getting key alias
    Certificate {my name} contains critical extension with OID "2.5.29.19" which is not recognized by JSignPdf - skipping.
    Used key alias: null
    Loading private key
    Problem occured
    java.lang.NullPointerException
    at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineGetKey(Unknown Source)
    at java.security.KeyStore.getKey(Unknown Source)
    at net.sf.jsignpdf.utils.KeyStoreUtils.getPkInfo(KeyStoreUtils.java:347)
    at net.sf.jsignpdf.SignerLogic.run(SignerLogic.java:80)
    at java.lang.Thread.run(Unknown Source)
    Finished: Creating of signature failed.

     
  • Billy A.

    Billy A. - 2011-01-01
    • assigned_to: nobody --> kwart
     
  • Josef Cacek

    Josef Cacek - 2011-01-09
    • milestone: --> v1.1.1
    • status: open --> closed
     
  • Josef Cacek

    Josef Cacek - 2011-01-09

    Fixed in version 1.1.1 - new "well-known" critical extension OIDs are supported and moreover is the critical extension check disabled by default (in conf/conf.properties).

     
  • Billy A.

    Billy A. - 2011-01-10

    Thank you very much for your efforts, it works great now!

     
  • Billy A.

    Billy A. - 2011-01-10
    • status: closed --> open
     
  • Josef Cacek

    Josef Cacek - 2011-01-11
    • status: open --> closed