Sign using PDF Signer

The SignServer PDF Signer signs PDF documents and supports adding visible or invisible signatures. Applying a visible signature adds a signature image to the document, allowing you to display signature properties using Adobe Acrobat Reader.

Follow the instructions in the sections below to add and sign using the PDF signer:

Add PDF Signer

To add and configure the PDF signer, do the following:

  1. Go to the Admin Web Workers tab and click Add.
  2. Add a worker by clicking From Template.
  3. Choose pdfsigner.properties from the Load From Template list menu and click Next.
  4.  Click Apply on the Configuration page to load the sample PDFSigner configuration.
  5. Ensure that the PDFSigner worker is in state ACTIVE:

Submit and Sign file using PDF Signer

The following describes how to submit and sign a PDF with the PDF signer either using the SignServer Demo Web or the SignServer Client CLI SignClient.

Sign PDF using Demo Web

To download an example PDF and then submit and sign the file using the Demo Web, do the following:

  1. Download ok.pdf to test PDF signing.
  2. Go to the SignServer Generic Signing and Validation Demo page on https://<yourawsinstancepublicdns>/signserver/demo/pdfsign.jsp.
  3. Click Browse, select ok.pdf and click Submit.
  4. You will be prompted to save the signed PDF file ok.pdf.
  5. Open the signed ok.pdf in in Adobe Acrobat Reader to display the signature.

Add a Cert Signer to Acrobat

Adobe Acrobat Reader shows that the PDF is signed by a source but that it "has problems". This is because it does not know of our signer certificate.

  1. Click the PrimeKey logo on the top of the signed document to open the following Adobe Signature Validation Status dialog.
  2. Click Signature Properties and select Show Signer's certificate.

  3. Select the Trust tab and click Add to Trusted Certificates.


  4. Click OK on the Acrobat Security panel.


  5. Click OK on the Import Contact Settings window.


  6. Click Validate Signature on the Signature Properties window.


  7. Select the PrimeKey logo in the PDF to view the Signature Validation Status with information on the valid signature: 


Sign PDF using Client CLI

To download an example PFD and then submit and sign the file using the Client CLI SignClient, do the following. Note that the Client CLI requires Java.

  1. Download the SignServer ClientCLI from the location: https://yourawsinsancepublicdns/signserver/clientcli-dist/signserver-clientcli.zip.
  2. Unzip signserver-clientcli.zip to the signserver-clientcli directory.
  3. Copy ok.pdfto the bin directory inside the signserver-clientcli directory.
  4. Open a command (cmd) window if on a Windows system, or a terminal on Linux or Mac and change directory (cd) to the bin directory.
  5. Sign ok.pdf using SignClient:
    •  If you are on a Windows system, use the following command:
      # signclient.cmd signdocument -host yourawsinsancepublicdns -port 80 -workername PDFSigner -infile ok.pdf -outfile oksigned.pdf
    • If you are on a Linux or Mac system, use the following command:
      # ./signclient signdocument -host yourawsinsancepublicdns -port 80 -workername PDFSigner -infile ok.pdf -outfile oksigned.pdf
  6. The signed oksigned.pdf shows the signature (the PrimeKey logo) when opened in Adobe Acrobat Reader. This image can be customized to be any other image in the worker properties.