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.

    NG2PDFDigitalSign0002


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 documentPDF digitally signset attachment namepayload to attachmentemail detailscreate 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:

    NG2InterSigning0002

 

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.

    • Related Articles

    • PDF

      InterFormNG2 can work with PDF files in multiple ways - both as input and as output. PDF is one of the file types/payloads, that can be handled by the InterFormNG2 workflow. PDF as input A workflow can e.g. accept PDF files as the input file type. ...
    • DigitalSign cloud PDF signing

      This component takes a PDF as input payload and returns a signed version of that PDF as output. This component can be used to sign a PDF document using the DigitalSign service called "Certificado Qualificado - Selo Eletrónico Cloud" (in portuguese). ...
    • PDF input and output

      If you want to create PDF output in InterFormNG2, then you need to setup a workflow in InterFormNG2 to do that. If you want to use the PDF inside of an email, then you should consider to check out the email output options first, as the normal create ...
    • Create PDF document

      With this workflow component you can merge an input file with a template (both InterFormNG2 and InterFormNG templates) to create the output stream in PDF format. This can later e.g. be sent to a (laser) printer, that supports PDF or as input for e.g. ...
    • Signing of Invoice PDF files for Portugal

      Digitally signing Invoices PDF files in Portugal is getting mandatory and for that it is required to use a cloud based DigitalSign server of the Tax authorities to digitally sign the PDF files. This is supported in InterFormNG2 with the DigitalSign ...