How to digitally sign documents
Links¶
- Generating a self-signed certificate using OpenSSL
- openpdfsign - Sign PDF files digitally from CLI or your webserver
Steps¶
- Run the following OpenSSL command to generate your private key and public certificate. Answer the questions and enter the Common Name when prompted.
- Review the created certificate:
- Combine your key and certificate in a PKCS#12 (P12) bundle:
- Validate your P12 file
-
Download openpdfsign if necessary and navigate to the download directory.
-
Use above certificate and key to sign PDF. Adjust
--page
,--left
,--top
,--image
as necessary: