Menu

Invalid certificate: No certificate could be parsed from byte array

Help
2019-07-31
2019-08-19
  • Minh Nguyen

    Minh Nguyen - 2019-07-31

    Hello everyone,

    When I use CRLValidator Worker (Validator.properties) to validate XML/PDF/... file with these information:
    - Worker Name: CRLValidator
    - File: test.xml
    - Process type: Validate Certificate
    I have trouble: Invalid certificate: No certificate could be parsed from byte array

    Here is configuration of CRLValidator Worker
    AUTHTYPE=NOAUTH
    CACHEDISSUERS=CN=ManagementCA
    TYPE=PROCESSABLE
    VAL1.CLASSPATH=org.signserver.validationservice.server.CRLValidator
    VAL1.ISSUER1.CRLPATHS=http://192.168.0.133:8088/CRL.crl

    So, how I Validate Certificate with CRLValidator?

    Many thanks.

     
  • Minh Nguyen

    Minh Nguyen - 2019-08-06

    I fixed it.
    Now, I have error: ISSUERNOTSUPPORTED;;Issuer of given certificate isn't supported;-1;
    So, what issuer does signserver support?

    Many thanks :)

     
  • Markus Kilås

    Markus Kilås - 2019-08-16

    I think you need to provide the issuer/CA certificate in PEM format in a worker property like VAL1.ISSUER1.CERTCHAIN=...
    Or was that what you already did to fix the first issue?

    See for instance doc/sample-configs/validator.properties.

    Cheers,
    Markus

     
    • Minh Nguyen

      Minh Nguyen - 2019-08-19

      Thank u so much for support.
      I provide the CA with CN=... in property: VAL1.ISSUER1.CERTCHAIN=...
      And, it's work

       

Log in to post a comment.