How to digitally sign a PDF with your DSC
Many official documents in India must be signed with a Digital Signature Certificate (DSC): GST and income tax filings, MCA and ROC forms, tender bids, Form 16 and board resolutions. A DSC signature is very different from pasting a picture of your handwritten signature, and knowing the difference saves rejected filings.
What a DSC signature actually is
A DSC is issued by a licensed certifying authority (such as eMudhra, Capricorn, Sify or NSDL) and contains your name, a public key and the authority's seal. The matching private key is kept on a USB token or, for some certificates, in a password-protected .pfx or .p12 file. When you sign, software computes a fingerprint (hash) of the PDF and seals it with your private key. Anyone can then check two things: who signed, and whether even one byte of the file changed after signing.
That is why a digitally signed PDF shows a signature panel in Adobe Acrobat Reader with the signer's name, the certificate issuer and the signing time, and why editing a signed PDF breaks the signature.
USB token or .pfx file?
- USB token (ePass2003, ProxKey, mToken, WatchData and others): the private key never leaves the token, and the token asks for its PIN every time you sign. Class 3 DSCs for GST, MCA and e-tendering are usually issued on tokens.
- .pfx / .p12 file: the certificate and private key are stored in one file protected by a password. It is convenient, but the file must be kept safe like a cheque book.
Web browsers cannot talk to USB tokens directly, so token signing needs a desktop program. The free Pixel Path PDF app for Windows lists the certificates on your token through Windows and lets the token ask for its PIN. A .pfx file can be used in the browser at Digital signature (DSC) or in the Android app.
Step by step: signing with a USB token on Windows
- Install your token driver (it usually installs itself the first time you plug the token in) and plug in the token.
- Open the PDF in the Pixel Path PDF Windows app and choose Sign with DSC.
- Pick your certificate from the list. Expired certificates and login-only certificates are hidden.
- Choose a visible signature box on the last or first page, or an invisible signature, and add a reason and location if you like.
- Enter the token PIN when the token asks for it. The signed copy is saved next to the original.
Step by step: signing with a .pfx file
- Open Digital signature (DSC) and add the PDF.
- Choose your .pfx or .p12 file and type its password. The file and password are used only on your device.
- Set the reason (for example "I approve this document"), location and where the "Digitally signed by" box should appear, then sign and download.
Checking the signature
Open the signed PDF in Adobe Acrobat Reader and click the signature box or the Signatures panel. You will see the signer, the issuing authority and the time. Acrobat often shows "Signature validity is unknown" for Indian DSCs, not because anything is wrong, but because the Controller of Certifying Authorities (CCA India) root certificate is not in Acrobat's trusted list on that computer. Adding the CCA India root certificate to Acrobat's trusted certificates turns it green.
Common mistakes
- Editing after signing. Compress, merge, add page numbers and watermarks before you sign. Any change afterwards invalidates the signature.
- Using an expired DSC. Certificates are valid for one to three years; renew before the expiry date shown in the certificate.
- Signing a scanned image of a signature and calling it digital. A picture of a signature is fine for many everyday forms (use Sign PDF), but filings that ask for a DSC need the certificate signature.
- Sharing the .pfx and password together. Anyone with both can sign as you.
Need to prepare the file first? Merge annexures, compress to the portal's size limit, then sign as the very last step.