Set Up Digital Signature with certificate

Last modified by Aysegül Omus on 2024/04/22 12:50

Set Up Digital Signature

This Wiki Page describes how to validate a digital signature.

1. Mac OS X

Adobe Reader

Import Certificate

You can download Adobe Reader for Mac OS X here.

Start up the program 'Adobe Reader DC' and click on Preferences.

Adobereaderpreferences.png    

Choose Signatures from the dropdown menu.

adobereadersignatures.png

Click on More in the Identities & trusted Certificates section.

adobereadermore.png    

Choose Digital ID Files and click on Attach File in order to import a certificate.

digsigattfilefiles.png

Choose your certificate file.

digsigzertopen.png

Enter the password that was previously set, when exporting the certificate.

Note: If no password was set, during the exportation of the certificate this step can be skipped.

digsigattfilepwd.png

The Certificate is now imported and can be used for digital signatures.

digsigaddidfinish.png

You can also synchronize Adobe Reader with Keychain Access and import all certificates at the same time.

Using Digital Signature

In order to sign a file with your digital signature, click on the blue field.

adobereaderunterschrift.png

Choose your certificate.

digsigzertauswaehlen.png     

Enter the password set during exportation.

digsigpasseingabe.png    

Click on Sign.

digsigpasswdsign.png    

Next, save the File. This will confirm the digital signature.

adobereaderpreferencesspeicherndatei.png

The digital signature looks as follows:

adobereaderpreferencesdigitalunterschrieben wiki.png

2. Windows 10

You can download Adobe Reader here

Adobe Reader

Import Certificate

The setup for digital signatures in Windows is parallel to Mac OS.

Go to the Preferences Panel.

adobewinpreferences.png    

Click on Signatures and then on More.

adobewinsignature.png    

You can now import your certificate. Choose Digital ID Files on the left hand side and Attach File in order to do so.

adobewinatttach1.png    

Once the certificate has been chosen, enter the corresponding password, set during the exportation process.

Note: If no password was set, during the exportation of the certificate this step can be skipped.

adobewinattachfile.png    

Using Digital Signature

In order to sign a file with your digital signature, click on the field to which you wish to add the signature.

adobereaderunterschrift.png     Choose your certificate.

adobewindigidauswaehlen.png     Next, save the File. This will confirm the digital signature.

adobereaderpreferencesdigitalunterschrieben wiki.png

JSignPdf

You can download this tool here. It will download an .exe file.

Open it with a double click and install it:
windowssetup1.png

windowsetup2.png

windowssetup3.png      Start the program.

windowsprogrammstart.png    

Choose the Keystore Type PKCS12-DEF-3DES-3DES and the certificate you wish to use. Enter the corresponding password below and choose the file you wish to sign digitally. Click on Settings.

Note: If no password was set, during the exportation of the certificate, no password needs to be entered here.

jsignpdfeinstellungen.png

Click on Preview and Select.

digsignwinprewievselect.png    

Highlight the field in which to use the signature

winddigsignfeldmark.png  

You can adjust the position of the signature with these parameters.
digsignwinprewievselectcloseneu.png

Click on TSA/OCSP/CLR and activate Use Timestamp Server.
timestampdigsigwind.png

Finally, click on Sign It.

signitwindigsignat.png

 You can see the details in the Output Console of the program.

digsignwindkonsole.png

The digital signature looks as follows:
digsignwind.png

The digitally signed file is automatically saved as a new file in the directory of the original file.

3. Linux

JSignPdf

You can download the tool here. This will download a .zip file. Unpack the file.

Install Java via the console.

sudo apt-get install openjdk-8-jre

Go to the directory jsignpdf-1.6.4:

cd ~/jsignpdf-1.6.4/

and use this command:

java -jar JSignPdf.jar

This will launch the program. Choose the Keystore type PKCS12-3DEF-3DES-3DES , the desired Certificate, the corresponding Password set while exporting it and the file to be digitally signed.

Note: If no password was set, during the exportation of the certificate, no password needs to be entered here.

Click on TSA/OCSP/CRL.

JSIGNPDFLINUX-TSA:OCSP:CRL.png      

Activate Use Timestamp Server.

timestempelserverlinux.png   

Open Settings.

jsignpdfeinstellungenlinux.png     

Click Preview & Select.

jsginpdflinuxprewievselect.png  

The PDF-File should open. Choose the filed in which you wish to insert your digital signature and click on Close.

feldmarkierenlinux.png   

Signature name and Description

Choose font size 6, in order to have enough space for the date to be displayed.

jsignpdfbereichmanuellauswaehlenlinux.png

Only Description

Choose Only Description and click on Close.

jsignpdfnurbeschreibunglinux8.png      

Click on Sign.

jsignpdfsignierenlinux.png      

You can see the details in the Output Console of the program..

jsignkonsolelinux.png

The digitally signed file is automatically saved as a new file in the directory of the original file.

The digital signature with the setup Signature name and Description and font size 8 in Adobe Reader looks as follows:

jsginpdflinux8.png

The digital signature with the setup Signature name and Description and font size 6 in Adobe Reader looks as follows.

signpdf6linux.png     

The digital signature with the setup Only Description and font size 8 in Adobe Reader looks as follows:

jsignnurbeschreibunglinux.png