netsec-ethz / fpki

4 stars 1 forks source link

Error during automatic certificate fetching from CT log #50

Open cyrill-k opened 5 months ago

cyrill-k commented 5 months ago

The automatic update fails with the following error message:

======== prune started  at 2024-01-31T03:00:00Z
======== prune finished at 2024-01-31T03:00:00Z

======== update started  at 2024-01-31T03:00:00Z
updated 16384 certs batch at 2024-01-31T03:01:25Z
updated     0 certs batch at 2024-01-31T03:02:30Z
======== update finished at 2024-01-31T03:00:00Z

ERROR: update returned updating certs: updating next batch of x509 certificates: fetcher: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;

It could be that the golang x509 library used is too strict on checking the correctness of certificates and thus rejects certain certificates that the CT log accepted.

The map server uses the https://ct.googleapis.com/logs/xenon2023/ log and has no previously ingested certificates from this log.