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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
I fixed it.
Now, I have error: ISSUERNOTSUPPORTED;;Issuer of given certificate isn't supported;-1;
So, what issuer does signserver support?
Many thanks :)
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
Thank u so much for support.
I provide the CA with CN=... in property: VAL1.ISSUER1.CERTCHAIN=...
And, it's work