intoolswetrust / jsignpdf

PDF signing software written in Java. It supports visible signatures, timestamping, certificate verification and many other cool features
https://intoolswetrust.github.io/jsignpdf/
Other
322 stars 121 forks source link

[Feature request] Allow usage of expired certificates #12

Closed azurit closed 7 years ago

azurit commented 7 years ago

I'm actually in a situation, where i need to use expired certificate for signing but jsignpdf is printing error and not allowing me to do this. Can you, please, allow usage of expired certificates? Thank you.

kwart commented 7 years ago

It's already implemented. Look into conf/conf.properties and uncomment the certificate.checkValidity entry:

# setting property certificate.checkValidity to false, you can disable validity checks
certificate.checkValidity=false