Digital signatures · Published
How to sign a PDF with a digital certificate on Windows
Getting your certificate into the Windows certificate store, importing a .pfx file, signing with PDFsigna or Acrobat Reader, and checking afterwards that the signature holds up.
On Windows, every certificate-based signature starts in the same place: the Windows certificate store. Get your certificate in there, with its private key, and any app that signs properly can use it. Most of the trouble people run into happens before they open a PDF at all.
First, a quick check that you need this. A visual signature, your handwriting placed on the page, is often enough for everyday agreements, especially in the United States. A digital signature is different: it is made with a certificate in your name and it detects any change to the document after signing. That is what you want when the PDF has to prove on its own who signed it and that nothing changed, or when the other side asks for a certificate-based signature.
Where your certificate comes from
A signing certificate is issued by a trust service provider: a commercial certificate authority, or in some countries a public body. In the European Union, qualified providers are listed country by country in the Commission’s trusted list browser. What kinds exist and what each one is worth is covered in which certificate do you need to sign.
How it reaches Windows depends on how the provider hands it over.
- Installed through the browser. Many providers have you request and download the certificate in a browser. On Windows, Edge and Chrome work with the system store, so a certificate installed that way is usually already where it needs to be.
- Delivered as a file. Others give you a
.pfxor.p12file (the same format under two extensions) plus a password. That file has to be imported. - From Firefox. Firefox keeps certificates in a store of its own, which other apps don’t see. Back the certificate up from Firefox’s certificate manager, which gives you a
.p12file, and import that.
Importing a .pfx file
Microsoft’s documentation describes it: in File Explorer, right-click the .pfx file and choose Open. That starts the Certificate Import Wizard. You will be asked for the file’s password, which is not your Windows password.
Two things are worth deciding while the wizard is open. Whether to mark the private key as exportable, which lets you make another backup later from this computer. And where to keep the original file: it is your copy of the certificate and the key, and anyone with the file and its password can sign as you. Put both somewhere safe, apart from each other.
Checking it is there
Press Windows + R, type certmgr.msc and press Enter. That opens the certificate manager for the current user, as Microsoft Learn explains. Your certificate should be under Personal > Certificates. Open it: if it says you have a private key that corresponds to it, you are ready.
No private key means the import brought in the certificate alone, and nothing can sign with it. Import the .pfx again.
Signing with PDFsigna
PDFsigna for Windows is on the Microsoft Store, and version 1.0 costs nothing. It reads certificates straight from your personal store, the one you just checked, so there is nothing to import inside the app.
- Open the PDF and click Sign in the toolbar, or press Ctrl+Shift+S.
- Under Sign with, pick your certificate. Each row shows where it lives, who issued it and when it expires. An expired one is greyed out with its date rather than hidden, so you never end up hunting for a certificate the app can’t see.
- Drag on the page where the signature should appear, with your handwriting from the library or as a plain box with your name. You can also skip this: the signature is just as valid with no visible mark.
- Fill in Reason and Place if you like, and click Sign and save.
You get a new copy next to the original, “Contract signed.pdf”, and the original is left as it was. If the original’s folder is read-only, the app says so before signing and lets you choose another.
Before you click, the status band tells you which of the five legal levels you are about to get. The Windows app downloads the European trusted lists, so when your certificate comes from a qualified EU provider it can say “Advanced with a qualified certificate”. A certificate nobody vouches for, like a self-signed one, stays at “Simple (identity not verified)”, and the app says why.
The Free plan signs up to ten documents a day in PAdES B-T, with a qualified timestamp from the ACCV, a Spanish trust service provider. Why a third party’s clock matters is in why your signature needs a trusted timestamp. If the PDF already carries signatures, yours is added after them as a new revision and theirs keep working.
One limit: version 1 doesn’t sign with smart cards, national ID cards included. They work through Windows, but they’re left out, with no date, so that Windows and Mac follow the same policy. See Support.
Signing with Acrobat Reader
The free Acrobat Reader can also sign with a certificate, and on Windows it can use the ones in the system store. Open the PDF, use the Use a certificate tool, choose Digitally sign, draw the box where the signature goes, pick your certificate and sign. Save the result under a new name so you keep the unsigned original.
Button names move around between versions, so Adobe’s help on digital signatures is the place to check. A timestamp needs a timestamp server set up first, which Adobe covers on its timestamp page.
Check the result
Signing isn’t the last step. Open the signed PDF in a validator and read what it says: the European Commission’s DSS demo, Acrobat, or for Spanish certificates the VALIDe service. How each one works and what “valid”, “indeterminate” and “invalid” mean is in how to check whether a PDF signature is valid. PDFsigna does the same for any signed PDF you open.
An “indeterminate” result usually means the validator couldn’t finish checking, often because it doesn’t know the issuer. Read the reason before you sign again.
This article was written with the help of artificial intelligence.
This article is general information, not professional advice. Laws, prices and how software works change over time: before you decide, check the official, up-to-date documentation from each authority or vendor.