Skip to content

error during signers.sign_pdf #60

Discussion options

You must be logged in to vote

Alright, with some staring at the files that were sent to me (thanks, @inui-sdt2!), I figured out the root cause(s) of the problem.

TL;DR: There's no problem with your certificates. It's FreeTSA's OCSP responder that is broken. I'll look into hardening pyhanko-certvalidator to treat cases like this as it would any other OCSP fetching error. In the meantime, switching to a different TSA should suffice.

Here's an alternative option: http://timestamp.entrust.net/TSS/RFC3161sha2TS, operated by Entrust. Unlike FreeTSA, this one is on the AATL, so it can even be used in (most) production workflows.

If you want the full explanation, read on.


There are actually two different phenomena at play. F…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@inui-sdt2
Comment options

@MatthiasValvekens
Comment options

Comment options

You must be logged in to vote
1 reply
@inui-sdt2
Comment options

Answer selected by inui-sdt2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants