Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Summary

Digital signatures are the most advanced and secure type of electronic signature. You can use them to comply with the most demanding legal and regulatory requirements because they provide the highest levels of assurance about each signer's identity and the authenticity of the documents they sign. Digital signatures is a certificate file in form of a .PFX file issued by an accredited Certificate Authority (CA) or Trust Service Provider (TSP) so when you digitally sign a document, your identity is uniquely linked to you, the signature is bound to the document with encryption, and everything can be verified using underlying technology known as Public Key Infrastructure (PKI).

...

Step 1: Install the certificate (.PFX) on Application Server

  1. Place the given Certificate file (.pfx) in a location on Ginesys HO application server.

  2. Double click on .PFX certificate and the Certificate Import Wizard will open.

  3. Select Local Machine and click on Next button.

  4. You may receive an User Account Control prompt, click on Yes to proceed.

  5. Browse the folder location where the file is kept and then click on Next button.

  6. Enter the password which was received from provider. No need to change default selections of Import options. Click on Next button.

  7. Select the option 'Place all certificates in the following store'Browse and select Personal certificate store. Click Next.

  8. The window shows the settings which have been specified.

  9. Click on Finish button to completes the certificate instillation.

  10. On successful complete the message 'The import was successful.' should appear.
     

...

Sample signed report:

Image 14


 

Digital Signature Implementation for Ginesys Reports: 

Steps :
  1. Web report KIT related files taken from U:\atanu.g\FolderMgmt_18042022
  2. Copy all the files and paste these files to  C:\GSL\GINESYS12\GinesysReport\FolderMgmt folder
  3. Sample file given with KIT C:\GSL\GINESYS12\GinesysReport\FolderMgmt folder\DigitalSignSettings.json 
  4. Modify the  DigitalSignSettings.json file as per the requirement to print of DSC in reports (PDF format) into this .Json file and dictionary having like

    Info
    {

       "ReportName":"Finance\\Documents\\#Sales Invoice(GST)#90",      -------------- This report name and path has to be change
       "IsSignatureReq":1,                                                                            --------------- 0 for don't print DSC and 1 for print DSC
       "SerialNumber":"4e 0a e3 82 ea b8 00 1e 5f 33 d4 a3 3e 6f 03 fc",   -------------- serial number of signature 
       "Location":"BR",                                                                                  -------------- Print position  BR,BM,BL,TR,TM,TL
       "Reason":"Approved by GINESYS QA Team",                                    -------------  Details of DSC
                                                       }


  5. Install   . PFX file to the local system (this is DSC file )  with right click > Install 
  6. Import  .PFX to the local certificate  'Personal' folder
  7. Check the right section this imported DSC file name and double click on that install certificate and take serial number from this file.

     

  8. Change the setting in application pool's identity to 'Local System' from advance setting.
    Image Modified 

  9. Run the provided report and export to PDF file. Now DIGITAL SIGNATURE will be seen into the PDF report

...

1. Error in image  : Digital signature Keyset does not exist. 

image.png

  
Solution :
Step 1: Go to folder (C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA).


Step 2: Open properties for MachineKeys Folder and go to Security tab.

Step 3: Provide read & execute and List folder contents permission for IUserand Network Service account.

Step 4:
Once MachineKeys folder is granted for IIS worker process, impersonated user, and Network service, you will find that lock sign has gone for the folder MachineKeys.

...