DigitalSignerServiceVer 6 1 1ImplementationGuidelines
DigitalSignerServiceVer 6 1 1ImplementationGuidelines
2
Table of Contents
Abbreviations ................................................................................................................................................................... 5
Introduction ...................................................................................................................................................................... 6
New Features and Enhancements ............................................................................................................................................................... 6
Section1: Digital Signer Service.................................................................................................................................. 7
Procedure to download Digital Signer Service....................................................................................................................................... 7
Client’s Machine Requirement: ..................................................................................................................................................................... 8
Minimum client’s machine Requirements ............................................................................................................................................... 8
Section2: Windows OS ................................................................................................................................................... 9
Identifying Your System .................................................................................................................................................................................. 9
Pre-requisites for Digital Signer Service Installer for Windows ...................................................................................................10
Installation Guidelines for Windows OS .................................................................................................................................................11
For Bulk User:................................................................................................................................................................................................11
For Single User:.............................................................................................................................................................................................11
Section3: MAC ................................................................................................................................................................. 16
Pre-requisites for Digital Signer Service Installer ..............................................................................................................................16
Installation Guidelines for MAC OS ...........................................................................................................................................................17
Add Token(s) in Digital Signer Service (MAC OS): .............................................................................................................................24
Register Token in Digital Signer Service (MAC OS): ..........................................................................................................................27
Section4: Ubuntu ........................................................................................................................................................... 29
Pre-requisites for Digital Signer Service Installer for Ubuntu OS ................................................................................................29
Installation Guidelines for Ubuntu OS .....................................................................................................................................................30
Add Token(s) in Digital Signer Service (Ubuntu OS):........................................................................................................................33
Register Token in Digital Signer Service(Ubuntu OS): ......................................................................................................................36
Section 5: Checking the Service Status ................................................................................................................... 38
For Windows/MAC/Ubuntu ........................................................................................................................................................................38
Annexure I ....................................................................................................................................................................... 40
Add/Import SSL Certificate to the Browsers ........................................................................................................................................40
For Mozilla Firefox ......................................................................................................................................................................................40
For Chrome.....................................................................................................................................................................................................43
For Internet Explorer .................................................................................................................................................................................45
Annexure II ...................................................................................................................................................................... 50
Troubleshooting (For Digital Signer Service) .......................................................................................................................................50
3
Annexure III .................................................................................................................................................................... 55
Signature Validity Checkmark Visibility .................................................................................................................................................55
The visual representation of signature verification ......................................................................................................................55
Display of Valid Signature in previous version of Digital Signature .......................................................................................55
Display of Valid Signature in Current Version of Digital Signature ........................................................................................56
How to verify signature in current scenario ....................................................................................................................................57
Annexure IV ..................................................................................................................................................................... 59
DSC token Pin Management in prevalent tokens today....................................................................................................................59
ProxKey Token-session Management .................................................................................................................................................59
ePass Token Session Management .......................................................................................................................................................60
Session Time limit setting (For ePass Token).............................................................................................................................61
Aladin Token-Session Management .....................................................................................................................................................62
Annexure V ...................................................................................................................................................................... 64
Identifying Your System.............................................................................................................................................. 64
Windows OS ........................................................................................................................................................................................................64
Check Windows version: ..........................................................................................................................................................................64
Check availability of Java Version in windows: ...............................................................................................................................64
MAC OS..................................................................................................................................................................................................................66
Checking MAC version: ..............................................................................................................................................................................66
Check availability of Java Version in MAC OS: .................................................................................................................................66
Ubuntu OS ............................................................................................................................................................................................................67
Checking Ubuntu version: ........................................................................................................................................................................67
Check availability of Java Version in Ubuntu OS:............................................................................................................................67
Annexure VI ..................................................................................................................................................................... 68
DSC –Error Codes .............................................................................................................................................................................................68
4
Abbreviations
DSC Digital Signature Certificate
NPAPI Netscape Plug-in Application Programming Interface
NICNET National Informatics Center Network
OS Operating System
SSL Secure Socket Layer
LTV Long Term Validation
5
Introduction
Till recently the web based applications were using applet based technology to achieve digital signing that used
Java plug-ins (NPAPI plug-in) provided by browsers (Chrome, Firefox, and Internet Explorer etc.) to run applet
inside the browser.
The latest versions of all browsers started discontinuing the applet support (around the Year 2016-2017)
essentially to firm up the security. The signing mechanisms that eOffice (or for that matter any other web
application) was using earlier, therefore, also had to change. Digital Signer Service 4.1 was developed and released
and it works with the latest browsers which do not require applet to run.
In the previous version, multiple URLs were used for signing/authentication/registration purposes, and this was
quite complex for consuming applications. To make it simple, in the current version of Digital Signer Service 6.1.1
(.msi installer) a single URL is provided for signing/authentication/registration purposes. A new functionality is
provided for single or multiple signatures on a single PDF document as well as for bulk signing of PDF documents.
Also, user(s) can add multiple token drivers in MAC/Ubuntu machines. It is essentially a service that would require
to be installed one time in the individual windows/MAC/Ubuntu client’s machines of the user.
This document provides very simple steps that will guide the user to install the signer service smoothly on his/her
local client machine and also provide help to the users of eOffice in their respective departments/states.
6
Section1: Digital Signer Service
Fig.1.1
Fig.1.2
7
1. Windows (For installation steps refer Section 2 Windows)
2. MAC(For installation steps refer Section 3 MAC)
3. Ubuntu (For installation steps refer Section 4 Ubuntu)
Note:
For Digital Signer Service 4.1 the available ports are 55100 and 55101.
8
Section2: Windows OS
Download the Digital Signer Service 6.1.1 and related utilities (available as a single bundled zip file) from one of the
URLs mentioned previously.
Fig.2.1
This also checks that if port 55103 is free or not and displays an appropriate message as shown in Fig.2.2:
Fig.2.2
Note:
1. In case .bat file does not run, refer to Annexure V for manually identifying the JAVA, OS and Digital Signer
Service status details.
9
Pre-requisites for Digital Signer Service Installer for Windows
Following four activities to be completed by User(s).
S. No. Activities Remarks
Needs to be downloaded at client machine by
Individual User. (Refer website
https://www.oracle.com/java/technologies/javase-
jre8-downloads.html for JRE installation).
Note:
1. Java Version 1.8 appropriate as per OS.
1. User(s) with 32-bit windows OS needs to install
32-bit JRE.
2. User(s) 64-bit windows OS needs to installs 64-
bit JRE.
To Add/ Import SSL certificate to the browsers
2. Add/ Import SSL certificate to the browsers.
(Refer Annexure I for steps).
For user(s) who have already DSC registered in
eOffice application, then to use new Digital Signer
Re-register DSC
Service, they have to de-activate already registered
3. (*only applicable for users previously using
certificate and register again one time.
applet based signing service)
(*only applicable for users previously using applet
based signing service).
Internet connectivity is required to check for Check the Internet connectivity at every client
4.
certificate revocation status. machine.
10
Installation Guidelines for Windows OS
Fig.2.3
Fig.2.4
11
End-User License Agreement window appears, read the agreement. Click I Accept radio button and then click
Next ( ) button as shown in Fig.2.5:
Fig.2.5
For custom installation, click Browse ( ) button, select the directory as shown in Fig.2.6 and click
Next ( ) button.
OR
Fig.2.6
12
Install SSL Certificate (for first time installation at clients’ machine) screen appears, select Yes radio button
and then click Install ( ) button as shown in Fig.2.7 (a):
Fig.2.7 (a)
OR
Upgrade Older Version & Install SSL Certificate (previous version exists in clients’ machine) window
appears asking for SSL certificate, now, to remove the older version or for side by side installation select the
respective option.
Also, to add SSL certificate in Internet Explorer browser, select Yes radio button and then click Install
( ) button as shown in Fig.2.7 (b):
Fig.2.7 (b)
13
Note:
SSL certificate is mandatory for signing purpose, if user clicks on No option while installing the Digital Signer
Service, then they have to install the certificate manually in Internet Explorer as well (To Add/ Import SSL
certificate to the browsers refer Annexure I).
Side by Side installation: Process will take some moments to complete the installation and click Finish
( ) button as shown in Fig.2.8.
Upgrade to new version: Process will take some moments to uninstall the Digital Signer Service 4.1 and
complete the installation of Digital Signer Service 6.1.1 and click Finish ( ) button as shown in
Fig.2.8:
Fig.2.8
Note:
User(s) can run the two different versions of Digital Signer Service simultaneously as per the requirement of
consuming applications.
This completes the installation of Digital Signer Service 6.1.1 for Windows user(s).
A shortcut will be created on the desktop, named Digital Signer Service 6.1.1.
Also, a Digital Signer Service icon ( ) will appear in the system tray (in the bottom-right corner of
monitor) which indicates that Digital Signer Service is running in the system, as shown in Fig.2.9:
Fig.2.9
Now, whenever the system is turned on the Digital Signer Service will start automatically.
14
Steps to manually START/ STOP the Digital Signer Service 6.1.1 are:
To start the service, double click the desktop icon “Digital Signer Service 6.1.1”.
The service will take a few seconds to start and once it is started it will appear in system tray.
Right click on the Digital Signer Service Icon ( ) from the system tray & select Open/ Stop button as per
requirement, as shown in Fig. 2.10:
Fig.2.10
Digital Signer Service application window appears, to stop the service click Stop Service( )
button, as shown in Fig.2.11:
Fig.2.11
Warning pop-up window appears, click Yes ( ) button to stop the Digital Signer Service, as shown in
Fig.2.12:
Fig.2.12
The Digital Signer Service gets stopped and icon will disappear from the system tray.
Note:
1. To import the SSL certificate refer Annexure I (Add/ Import SSL certificate to the Browsers).
15
Section3: MAC
Download the Digital Signer Service 6.1.1 and related utilities (available as a single bundled zip file) from one of the
URLs mentioned previously.
16
Installation Guidelines for MAC OS
Locate the Digital_Signer_Service-6.1.1.sh file from the downloaded bundle (Digital Signer Service v6.1.1
MAC Installer folder, Fig.3.1).
Fig.3.1
Run the command “sudo bash Digital_Signer_Service-6.1.1.sh” on the terminal for MAC OS.
In case any other process is using port 55103, system will ask user for YES/NO, as shown in Fig.3.2:
Type ‘Y’ for terminating that process and continue installation of Digital Signer Service otherwise type ‘N’ for
terminating the Digital Signer Service installation.
Fig.3.2
This completes the installation of Digital Signer Service for MAC user(s).
17
After successful installation, a message “Digital Signer Service 6.1.1 installed successfully” will be displayed
as shown in Fig.3.3
Fig.3.3
Press ‘Y’ to restart the system (Fig.3.3) or manually reboot the system.
For the first time installation in Mac OS, a confirmation window appears asking for allowing the installation of
Digital Signer Service, as shown in Fig.3.4:
Fig.3.4
18
For allowing the installation of Digital Signer Service, steps are:
Fig.3.5
Fig.3.6
19
A prompt window appears, click Open ( ) button as shown in Fig.3.7:
Fig.3.7
A shortcut will be created on the desktop, named Digital Signer Service 6.1.1.
Also, a Digital Signer Service icon ( ) will appear in the menu bar (in the upper-right corner of monitor)
which indicates that Digital Signer Service 6.1.1 is running in the system, as shown in Fig.3.8:
Fig.3.8
Now, whenever the system is turned on the Digital Signer Service will start automatically.
In case the Digital Signer Service does not start automatically, follow the below steps:
Go to System Preferences and click Users & Group, as shown in Fig.3.9:
Fig.3.9
20
Select Current Login User, click Login Items tab and then click + icon, as shown in Fig.3.10:
Fig.3.10
Browse the Digital Signer Service and click the Add ( ) button, as shown in Fig.3.11:
Fig.3.11
Now, the Digital Signer Service will appear under Users & Group screen (Fig.3.12) and whenever the system
is turned on the Digital Signer Service will start automatically.
Fig.3.12
21
Steps to manually START/ STOP the Digital Signer Service 6.1.1 are:
To start the service, double click the desktop icon ( ) “Digital Signer Service 6.1.1”.
The service will take a few seconds to start and once it is started it will appear in menu bar.
Left click on the Digital Signer Service icon from the menu bar & select Configure/ Stop button as per
requirement, as shown in Fig. 3.13:
Fig.3.13
Digital Signer Service application window appears, to stop the service click Stop Service ( )
button, as shown in Fig.3.14:
Fig.3.14
Warning pop-up window appears, click Yes ( ) button to stop the Digital Signer Service, as shown in
Fig.3.15:
Fig.3.15
22
The Digital Signer Service gets stopped and icon will disappear from the menu bar.
Note:
1. While using the Digital Signer Service application if a token is plugged-out or not properly plugged-in before
signing, then, occasionally user has to manually restart the Digital Signer Service. This issue is tokens specific, so to
avoid this ensure that token is properly plugged-in before proceeding for Signing/Authentication/Registration
process. For restarting the Digital Signer Service manually, refer Annexure II (Troubleshooting Problem 1).
2. There are many providers for DSC tokens and sometimes issue(s) specific to DSC token hardware may come, for
which the respective vendor may be approached.
3. To import the certificate refer Annexure I (Add/ Import SSL certificate to the Browsers).
4. Refer to Annexure V for manually identifying the JAVA, OS and Digital Signer Service status details.
23
Add Token(s) in Digital Signer Service (MAC OS):
This feature allows the user to use a new token which is not listed in the application. For this first, check whether
the token is listed in this application or not. If it is listed then just register this token as default token by checking
“register as default token” otherwise proceed to follow the steps to add a new token.
Open Digital Signer service app and click Add New Token ( ) button, as shown in Fig.3.16:
Fig.3.16
Note:
Help ( ): Click Help icon for “About and How to add token?” steps.
Fig.3.17
24
Provide Token Name, Token Path and click Save ( ) button, as shown in Fig.3.18:
Fig.3.18
Note:
1. Token Name & Token Path is mandatory.
2. User can also copy & paste the Token path in the Digital Signer Service (Fig.3.18).
3. The token name should be relevant like if a user is adding token of epass then the token name must include
“epass” in its name e.g. epass-new, new-epass, etc.
Login window appears, enter the Token Pin and click OK ( ) button as shown in Fig.3.19:
Fig.3.19
25
The certificate list appears, if valid certificate is displayed, click Confirm ( ) button, else click
Reject ( ) button, as shown in Fig.3.20:
Fig.3.20
Fig.3.21
Note:
1. Similarly, user can add more new token(s).
2. This is a one-time activity, so it is not required to add already existing/added token again while using the Signer
Service.
26
Register Token in Digital Signer Service (MAC OS):
Steps to register the token with Digital Signer Service are:
Left click the menu bar icon “ ”, click Configure option, as shown in Fig.3.22:
Fig.3.22
The digital Signer Service window appears , select token from the drop-down list, as shown in Fig.3.23:
Fig.3.23
Token path for the selected token gets populated in the Token Path Field.
Select checkbox for setting the token as default token, as shown in Fig.3.24:
Fig.3.24
27
Confirmation window appears, click Yes ( ) button as shown in Fig.3.25:
Fig.3.25
Note:
1. It is mandatory for singing purpose to set the selected token as default.
2. In case the Token is not availabe in Token Name dropdown list, then Add the token (refer Steps to add new
token in Digital Signer Service)
28
Section4: Ubuntu
Download the Digital Signer Service 6.1.1 and related utilities (available as a single bundled zip file) from one of the
URLs mentioned previously.
29
Installation Guidelines for Ubuntu OS
Locate the Digital_Signer_Service-6.1.1.sh file from the downloaded bundle (Digital Signer Service 6.1.1
Ubuntu Installer folder, Fig.4.1).
Fig.4.1
Run the command “sudo bash Digital_Signer_Service-6.1.1.sh” on the terminal for Ubuntu OS.
In case other process is using port 55103, system will ask user for YES/NO as shown in Fig.4.2:
Type ‘Y’ for terminating that process and continue installation of Digital Signer Service otherwise type ‘N’ for
terminating the Digital Signer Service installation.
Fig.4.2
This completes the installation of Digital Signer Service for Ubuntu user(s).
30
After successful installation, a message “Digital Signer Service 6.1.1 installed successfully” will be displayed
as shown in Fig.4.3:
Fig.4.3
Press ‘Y’ to restart the system (Fig.4.3) or manually reboot the system.
Steps to manually START/ STOP the Digital Signer Service 6.1.1 are:
Fig.4.4
31
Now, click Hide Service ( ) or ( ) button to hide the screen.
Warning window appears, click Yes ( ) button to stop the Digital Signer Service, as shown in Fig.4.5:
Fig.4.5
Note:
1. While using the Digital Signer Service application if a token is plugged-out or not properly plugged-in before
signing, then, occasionally user has to manually restart the Digital Signer Service. This issue is tokens specific, so to
avoid this ensure that token is properly plugged-in before proceeding for Signing/Authentication/Registration
process. For restarting the Digital Signer Service manually, refer Annexure II (TroubleshootingProblem 1).
2. There are many providers for DSC tokens and sometimes issue(s) specific to DSC token hardware may come, for
which the respective vendor may be approached.
3. To import the certificate refer Annexure I (Add/ Import SSL certificate to the Browsers).
4. Refer to Annexure V for manually identifying the JAVA, OS and Digital Signer Service status details.
32
Add Token(s) in Digital Signer Service (Ubuntu OS):
This feature allows the user to use a new token which is not listed in the application. For this first, check whether
the token is listed in this application or not. If it is listed then just register this token as default token by checking
“register as default token” otherwise proceed to follow the steps to add a new token.
Open Digital Signer service app and click Add New Token ( ) button, as shown in Fig.4.6:
Fig.4.6
Note:
Help ( ):Click help icon for “About and How to add token?” steps.
Fig.4.7
33
Provide Token Name, Token Path and click Save ( ) button, as shown in Fig.4.8:
Fig.4.8
Note:
1. Token Name & Token Path is mandatory.
2. User can also copy & paste the Token path in the Digital Signer Service (Fig.4.8).
3. The token name should be relevant like if a user is adding token of epass then the token name must include
“epass” in its name e.g. epass-new, new-epass, etc.
Login window appears, enter the Token Pin number and click OK ( ) button as shown in Fig.4.9:
Fig.4.9
34
The certificate list appears, if valid certificate is displayed, click Confirm ( ) button, else click
Reject ( ) button, as shown in Fig.4.10:
Fig.4.10
Fig.4.11
Note:
1. Similarly, user can add more new token(s).
2. This is a one-time activity, so it is not required to add already existing or added token again while using the
Signer Service.
35
Register Token in Digital Signer Service(Ubuntu OS):
Steps to register the token with Digital Signer Service are:
The digital Signer Service window appears , select token from the drop-down list, as shown in Fig.4.12:
Fig.4.12
Token path for the selected token gets populated in the Token Path Field.
Select checkbox for setting the token as default token, as shown in Fig.4.13:
Fig.4.13
36
Confirmation window appears, click Yes ( ) button as shown in Fig.4.14:
Fig.4.14
Note:
1. It is mandatory for singing purpose to set the selected token as default.
2. In case the Token is not availabe in Token Name dropdown list, then Add the token (refer Add new token in
Digital Signer Service)
37
Section 5: Checking the Service Status
For Windows/MAC/Ubuntu
Digital Signer Service uses 55103 port.
1. To check service running status, go to the “Pre-requisites” folder inside Digital Signer Service Installer
folder and then, locate the DigitalSignerServiceTest.html file.
2. Open DigitalSignerserviceTest.html file in preferred browser and then click Check Digital Signer Service
Status ( ) as shown in Fig.5.1:
Fig.5.1
Fig.5.2
38
4. To check for service status manually use https://127.0.0.1:portNumber/check/isLive
For Ex. https://127.0.0.1:55103/check/isLive
“Success” message on the screen states that the service is running successfully otherwise may refer to the
Annexure II (Troubleshooting).
Note :
1. The Digital Signer Service SSL certificate will expire on 15 Oct 2023. After that, a new installer will be provided
with the new SSL certificate.
39
Annexure I
Add/Import SSL Certificate to the Browsers
Digital Signer Service runs on https port by using a self-signed certificate, browser may not import certificate
automatically to their trusted root certificate store, for this client needs to import the certificates explicitly.
Note:
SSL certificate gets automatically imported in Internet Explorer browser only in the case when the user selects the
YES option for adding the SSL certificate during the installation process.
Download the Digital Signer Service Installer folder (For windows/ For MAC/ For Ubuntu), go to the “Pre-
Requisites” folder and locate the Self Signed Certificate127.0.0.1.cer (SSL Certificates).
Note:
1. If certificate revocation check is not performed, the application will not be able to perform any of the operations
(Registration, Authentication, and Signing).
To add/ Import the certificate the steps for browsers are mentioned below:
Open the Mozilla browser and enter the URL https://127.0.0.1:55103/check/isLive as shown in Fig.A.1.1:
Fig.A.1.1
40
Then, the browser will notify the user to add the exception to the list (Fig.A.1.1).
Fig.A.1.2
The browser will open a window to get the certificate. Click Confirm Security Exception
Fig.A.1.3
41
The browser will confirm and displays the message “Success” as shown in Fig.A.1.4:
Fig.A.1.4
Note:
Kindly use updated version of Mozilla Firefox browser.
42
For Chrome
To add a self-signed certificate for https in chrome browser, perform the below actions to import SSL certificate:
Open the Chrome browser and enter the URL https://127.0.0.1:55103/check/isLive as shown in Fig.A.1.5:
Fig.A.1.5
The browser will notify the user to add the exception to the list (Fig.A.1.5).
Fig.A.1.6
The browser will confirm and displays the message “Success” as shown in Fig.A.1.7:
43
Fig.A.1.7
Searched flags screen appears, select Enabled to allows requests to local host over HTTPS even when an self-
signed certificate is presented – Mac, Windows, Linux, Chrome OS, as shown in Fig.A.1.8:
Fig.A.1.8
44
For Internet Explorer
In case of Internet Explorer, SSL certificate gets automatically imported by the installer.
Fig.A.1.9
In case success message does not appear, or certificate is not available, then follow below steps to import the SSL
certificate.
Steps to manually update SSL certificate are:
Go to the Setting icon and select the Internet options, as shown in Fig.A.1.10:
Fig.A.1.10
45
Internet Options window will appear, click Content ( ) tab and select the Certificates
( ) button as shown in Fig.A.1.11:
Fig.A.1.11
Fig.A.1.12
The Certificate Import Wizard window appears and click Next ( ) button, as shown in Fig.A.1.13:
46
Fig.A.1.13
Browse the certificate from the saved location and click Next ( ) button as shown in Fig.A.1.14
andFig.A.1.15:
Fig.A.1.14
47
Fig.A.1.15
Click Finish ( ) button to close the process as shown in Fig.A.1.16:
Fig.A.1.16
48
Security warning window appears, click Yes ( ) button, as shown in Fig.A.1.17:
Fig.A.1.17
The message box prompt “The import was successful”, click Ok ( ) button as shown in
Fig.A.1.18:
Fig.A.1.18
49
Annexure II
Problem 1
Service is not running after successful installation.
Solution
Check Java is installed properly or not and then, restart the Digital Signer Service manually.
For Windows
Digital signer Service icon ( ) will appear in the system tray (in the bottom-right corner of monitor)
which indicates that Digital Signer Service is running in the system, as shown in Fig.A.2.1:
Fig.A.2.1
For MAC
Restart the Digital Signer Service by clicking desktop icon ( ) “Digital Signer Service 6.1.1’’.
Digital Signer Service icon ( ) will appear in the menu bar (in the upper-right corner of monitor) which
indicates that Digital Signer Service 6.1.1 is running in the system, as shown in Fig.A.2.2:
Fig.A.2.2
For Ubuntu
Restart the Digital Signer Service by clicking desktop icon ( ) “Digital Signer Service 6.1.1”.
Note:
1. While using DSC application in MAC OS and Ubuntu OS, if a token is plugged-out, then, occasionally user has to
manually restart the Digital Signer Service.
50
Problem 2
Service is not running even after starting manually.
Solution
Check availability of port HTTPs
https port: 55103
For Windows
Use cmd/power Shell to run following commands in windows.
Command: netstat–ano | find "port" (Fig.A.2.3).
Screen-shot
Fig.A.2.3
For Ubuntu
For Ubuntu use Terminal.
Command: netstat -tunlp | grep port (Fig.A.2.4).
Screen-shot
Fig.A.2.4
51
For MAC
For MAC use Terminal.
Command: netstat –vanptcp | grep port (Fig.A.2.5).
Screen-shot
Fig.A.2.5
If no service is running on port, manually start the service. If still it does not start, contact the
administrator.
52
Problem 3
If the port 55103 is in use with some other service.
Solution
Kill the service running from port 55103
Commands to Kill the services from port are:
For Windows
Use cmd/powerShell to run following commands in windows.
Command: taskkill /f /pid [PID] (Fig.A.2.6).
Screen-shot
Fig.A.2.6
For Ubuntu
For Ubuntu use Terminal.
Command: Sudo kill -9 [PID] (Fig.A.2.7).
Screen-shot
Fig.A.2.7
53
For Mac
For MAC use Terminal.
Command: sudo kill -9 [PID](Fig.A.2.8).
Screen-shot
Fig.A.2.8
After killing the service, manually start the service. If still it does not start, contact the administrator.
Problem 4
If the certificate is not displaying while adding a new token in MAC/Ubuntu machine.
Solution
Manually stop the Digital Signer Service.
Properly plug-in the desired token.
Start Digital Signer Service again and continue to add a token.
54
Annexure III
Signature Validity Checkmark Visibility
In previous signed pdf files verification status visibility will still be displayed, as Adobe Reader supports them for
backward compatibility reasons only.
Thus, since Acrobat 9 Adobe displays its own icons only in the signature panel, not the document itself, and
requires evaluation of signature validity by business users by inspecting the signature panel and generates
signatures accordingly.
55
Display of Valid Signature in Current Version of Digital Signature:
In current version, only signature details are being displayed along with the original content of the page.
Refer to Fig.A.3.3:
Fig.A.3.3
56
How to verify signature in current scenario:
After opening the pdf file, click on Signature Panel located at upper right corner of adobe reader. A
window will open on left side of document, where all information regarding signature validation is
displayed along with the signature details. In case of Valid signature, Green Check will be shown at
upper left corner of adobe reader and also inside signature panel itself, as shown in Fig.A.3.4: Valid
Signature:
In case of Invalid Signature, Red Cross sign is displayed at upper left corner of adobe reader and inside
signature panel itself, as shown in Fig.A.3.5: Invalid Signature:
57
Fig.A.3.5: Invalid Signature
58
Annexure IV
Steps for few known tokens are given below; same steps will be followed in case of other token(s).
Fig.A.4.1
59
3. Select the checkbox corresponding to Cache User Pin and click Apply button as shown in Fig.A.4.2:
Fig.A.4.2
2. Select Setting from the options available at right side panel as shown in Fig.A.4.3:
Fig.A.4.3
60
3. Select the checkbox corresponding to Single Sign on and click Ok ( ) button as shown in Fig.A.4.4:
Fig.A.4.4
User can also set time out session of DSC token PIN for signing multiple files.
Steps to set the DSC token PIN session time out are as follows:
Fig.A.4.5
61
3. Enter DSC token PIN, Timeout time and click Ok ( ) button, as shown in Fig.A.4.6
Fig.A.4.6
Note:
It is not mandatory to change the DSC token PIN, existing DSC PIN can also be provided in Old Pin and New PIN
column.
Fig.A.4.7
62
3. Click eToken PKI client Settings and then click Advanced ( ) tab as shown in Fig.A.4.8
Fig.A.4.8
4. Select the checkbox corresponding to Enable Single Sign-On Mode and click Save ( ) button as
shown in Fig.A.4.9:
Fig.A.4.9
63
Annexure V
Identifying Your System
Windows OS
Check Windows version:
Right click My Computer/ This PC icon on desktop or start menu and select “Properties” tag.
A screen appears displaying the OS Version is shown in Fig.A.4.1:
Fig.A.4.1
Fig.A.4.2
64
A screen appears is shown in Fig.A.4.3, select Java ( ) tab and then click View ( )
button.
Fig.A.4.3
The version of Java will appear under User Tab as shown in Fig.A.4.4.
Fig.A.4.4
65
MAC OS
Checking MAC version:
Open the Terminal.
Type the command “sw_vers”, and press enter (Fig.A.4.5), and the version of MAC will gets displayed
(marked in red color box).
Fig.A.4.5
Check availability of Java Version in MAC OS:
Open the Terminal
Type the command “java -version”, press enter.
If java is not installed in system, then the output will be “Command java -version not found”.
If java is installed then the java version will be displayed as shown in Fig.A.4.6:
Fig.A.4.6
66
Ubuntu OS
Checking Ubuntu version:
Open the Terminal.
Type the command “lsb_release -a”, press enter (Fig.A.4.7), and the version of Ubuntu will gets displayed
(marked in red color box).
Fig.A.4.7
Fig.A.4.8
67
Annexure VI
Below table elaborates the type of errors occurs in DSC web service:
8 The selected certificate is not valid any more. Check your system date and certificate
DSC-08
validity.
9 The certificate inserted is not valid for purpose.\n One of the certificate keys are
DSC-09
missing.
10 DSC-10 No input found to check if certificate is valid for registration.
11 DSC-11 No content found to sign.
12 DSC-12 No login seed found to authenticate.
13 DSC-13 The selected certificate is not valid for signing.
14 DSC-14 CRL validation failed. The selected certificate is revoked by the CA.
15 DSC-15 OCSP validation failed. The selected certificate is revoked by the CA.
16 DSC-16 OCSP validation failed. Responder does not know the status of the certificate.
17 DSC-17 The action was cancelled by the user.
68
18 DSC-18 No provider configuration found on this OS.
19 DSC-19 Invalid or no library definition found for the provider in this OS.
20 DSC-20 Either device driver is to be installed or Digital Signer Service requires restart.
21 DSC-21 Incorrect password provided.
22 DSC-22 No driver found for this path in this OS.
23 DSC-23 Either device driver is to be installed or Token is not plugged in.
24 DSC-24 Error in retrieving the certificate chain.
25 DSC-25 Either action was cancelled by the user or some internal error occurred.
26 DSC-26 Signing failed due to internal application error.
27 DSC-27 Invalid signature/the object has not been signed.
28 Signing failed due to the certificate chain not found in the system. Please contact the
DSC-28
administrator.
29 Signing failed. Please check if the Digital token has been inserted properly in the
DSC-29
system.
30 Signing failed due to unexpected internal application error while signing the
DSC-30
document.
31 DSC-31 Client machine date has been changed during process.
32 Certificate not found. It may be due to faulty USB Port/Token or token has been
DSC-32
plugged-out.
33 DSC-33 Error while signing xml response.
34 DSC-34 Error while validating XML signature.
35 DSC-35 Error while initializing keystore to verifying/signing request/response xml.
36 DSC-36 Some error occurred while getting OCSP response.
37 Chain certificate not found for certificate serial no Serial Number while getting OCSP
DSC-37
response
38 Unable to check OCSP response due to network error .\n Kindly contact your system
DSC-38
administrator.
39 DSC-39 Some unknown error occurred.
69
Created By Reviewed By Approved By
Rimandeep Kaur Navdeep Singh Nagi Navneet Kaur
Scientist- C
Maheep Singh Pankaj Shakya eOffice Project Division
70
71