Digitally signing output
You can digitally sign generated Microsoft Word or PDF documents using a
digital certificate that is available on the file system. Digital
signatures enable confident sharing of documents from trusted sources.
For example you can protect a document from unauthorized changes.
Before you begin
- The certificate must be in the PKCS#12 format.
- The certificate from the key store cannot be used.
- The certificate must be available on the file system.
- The certificate must contain a private key.
Note: Here is a example command that you can use to generate
a sample certificate:
<JRE_HOME>\keytool -genkeypair -alias <alias_name> -keyalg RSA -keypass <private key password> keystore <path to store the keystore c:\temp\keystore.pfx> -storepass <keystore password> keysize <key size 2048> -storetype pkcs12
About this task
Procedure
Results
Note: Document
generation might fail when the signed referenced template is added
with an absolute path. To work around this problem, put the reference
template in the same location as the main template and add the reference
template with a relative path instead of an absolute path.