PDF digitally sign - InterFormNG2

PDF digitally sign

You can add a digital signature to a PDF inside the payload of InterformNG2, that is later saved. The PDF should normally first be created with the component: Create PDF document.

To do that you use the advanced utilities workflow component: PDF digitally sign.

Prerequisites:

  1. In order to add a digital signature, you need a license code for InterformNG2, that includes the Advanced PDF module.
  2. A PKCS12 certificate must be loaded in the Other section of the Library as explained in the section: Getting a digital certificate file.
  3. After adding the signature you need to output the PDF file e.g. with the To filesystem workflow component. The procedure to email a signed PDF file is covered in this section.

The PDF digitally sign component has these parameters:


  1. Certificate file
    The uploaded PKCS12 file, that contains the digital signature to be added. The file must be placed in the others section of the Library.
  2. Certificate password
    The password for the certificate file.
  3. Certificate alias
    If needed you can here state an alias for the certificate.

Here is an example of a small workflow, that generates a PDF file, that is digitally signed:

Emailing of e signed PDF file is covered in the email output section.


If you want to digitally sign a PDF file, that you want to attach to an email, then you can build up a workflow with these workflow components: Create PDF document, PDF digitally sign, set attachment name, payload to attachment, email details, create email message from template and finally To email server. 

Getting a digital certificate file:

A digital pkcs12 certificate ((PKCS#12  w/ x.509 certificate) can be bought from various, trusted suppliers.

For test purposes you can order a free trial signature now e.g. from this web site:

https://www.nets.eu/dk-da/kundeservice/nemid-tjenesteudbyder/NemID-tjenesteudbyderpakken/Pages/OCES-II-certifikat-eksempler.aspx

 

It looks like this:

 

If you click the top right Download link (Test Bruger (gyldig)- PKCS12) - or use this link:

https://www.nets.eu/dk-da/kundeservice/nemid-tjenesteudbyder/Documents/TU-pakken/Tools/Testcertifikater/OCES%20II/MOCES_gyldig.p12

- then you will download a valid digital signature, that you can use for testing. The password needed to open the file is ‘Test1234'. This .p12 file can directly be used in InterformNG as a digital signature.

 

The second line (Test Bruger (spærret)) is a sample, test certificate, that has been revoked, so if you want to test that, then you can download the PKCS12 link in that line via this link:

https://www.nets.eu/dk-da/kundeservice/nemid-tjenesteudbyder/Documents/TU-pakken/Tools/Testcertifikater/OCES%20II/MOCES_spaerret.p12

NotesThe certificate file should be uploaded into the Other section/folder of the Library in InterformNG2 via the web-interface.