Simon Steiner created FOP-3166:
----------------------------------
Summary: Add option to sign PDF
Key: FOP-3166
URL: https://issues.apache.org/jira/browse/FOP-3166
Project: FOP
Issue Type: Bug
Reporter: Simon Steiner
Assignee: Simon Steiner
As a user I want to sign my pdf
Run this cmd:
openssl req -new -newkey rsa:4096 -nodes -keyout my.key -out my.csr
openssl x509 -req -sha256 -days 365 -in my.csr -signkey my.key -out my.pem
cat my.key my.pem > my2.pem
openssl pkcs12 -export -in my2.pem -out mykeystore.pkcs12 -name myAlias
Add to pdf section of fop.xconf:
<sign-params> <keystore>mykeystore.pkcs12</keystore> <name>xxx</name>
</sign-params>
In Adobe Reader it should say in side panel:
Document has not been modified since it was certified
--
This message was sent by Atlassian Jira
(v8.20.10#820010)