PDFreactor is able to sign the PDFs it creates. It requires a Keystore file in which the certificate to sign the PDF is included.

What Do You Need?

  • keytool to store a certificate in a keystore.

The following command will store the "pkcs12" certificate "certificate.pfx" into a "keystore.jks" file using the Keystore type "JKS":

keytool -importkeystore -srckeystore certificate.pfx -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype JKS

Please note, that the value of the parameter "-srcstoretype" depends on the type of certificate which is imported into the Keystore. 

PDFreactor supports the Keystore types "JKS" and "PKCS12". The value of the parameter "-deststoretype" determines the Keystore type. It can either be "JKS" or "PKCS12".