PDF & digital signatures
Sign a PDF with a .pfx File for Free (and Keep It Safe)
In this article
- The scenario: a service contract that needs your signature and seal
- Task 1: Understand what you were given
- Task 2: Store the .pfx and password safely
- Task 3: Decide whether to import the certificate into Windows
- Task 4: Prepare the seal image, and know what it does not do
- Task 5: Sign the contract offline
- Task 6: Verify before you send
- Legal note for Vietnam-based signers
- Quick reference for the signing desk
You can sign a PDF with a .pfx (or .p12) certificate file for free on Windows. Open the PDF in a free signing tool, choose the .pfx file, enter its password, and place the signature. Microads Office PDF, Adobe Acrobat Reader and LibreOffice can all do it. The signing happens on your own computer, so the contract never has to be uploaded to a cloud service.
This guide is for freelancers and small companies whose certificate authority (CA) sent a password-protected file instead of a USB token. It follows one real job from start to finish:
- check what you received
- store it safely
- prepare the seal image
- sign a contract offline
- verify the result before sending
The scenario: a service contract that needs your signature and seal
A small design studio has to sign and return a supplier contract today. The CA delivered the signing certificate as two separate pieces:
| Item | Example | What it is |
|---|---|---|
| Certificate file | studio-signing.pfx | PKCS#12 bundle: certificate + private key + usually the CA chain |
| Password | Sent separately by the CA | Unlocks the private key inside the file |
| Document | Service-Contract-2026-014.pdf | Final, agreed version of the contract |
| Seal image | company-seal.png | Scan of the company stamp, transparent background |
Task 1: Understand what you were given
Before you sign anything, confirm the file type. People often mix these up.
| Extension | Contains private key? | Can you sign with it? |
|---|---|---|
.pfx | Yes, password-protected | Yes |
.p12 | Yes, password-protected (same PKCS#12 format as .pfx) | Yes |
.cer / .crt | No, public certificate only | No. Use it to verify signatures or to share your public certificate |
The difference from a USB token is important. On a token, the private key cannot be copied out of the device. A .pfx is a "soft" certificate, which means anyone who has the file and the password can sign as you. That is why Task 2 comes before the signing itself.
To check the certificate details without installing anything, use the built-in certutil tool:
- Open Command Prompt in the folder that holds the file (type
cmdin File Explorer's address bar and press Enter). - Run
certutil -dump studio-signing.pfx - Enter the password when prompted.
- Read the Subject line (your name or your company's) and the NotAfter line (the expiry date). Nothing is imported into Windows.
Alternatively, ask the CA for the matching .cer file and double-click it; the Certificate window shows the subject and validity dates on its General and Details tabs.
Task 2: Store the .pfx and password safely
Most leaks happen because the file sits somewhere convenient. Treat the file and the password like the keys to the company bank account.
Where not to keep it
- Your email inbox or sent folder. Anyone who gets into the mailbox gets your signature.
- Shared network drives or public cloud folders. Colleagues and sync clients copy it everywhere.
- Chat apps. Attachments stay in the chat history on several devices.
- Desktop or Downloads. These folders are the first places people (and malware) look.
- Git repositories. Removing it later does not remove it from the history.
What to do instead
- Keep one working copy in a private folder on the signing computer.
- Keep one encrypted offline backup, for example on an encrypted USB drive stored in a locked drawer.
- Put the password in a password manager, not in a text file next to the .pfx.
- Never send the file and the password through the same channel. If you must move the certificate to a colleague, hand the file over on an encrypted USB drive in person or share it through an encrypted link that expires, and give the password by phone. Do not send the .pfx as an email attachment.
- Delete stray copies once you have set it up: remove the file from mail (including the CA's original email, if your company policy allows) and from the Downloads folder.
- If you think it leaked, ask the CA to revoke the certificate immediately. A new certificate is a minor cost. Contracts signed in your name by someone else are a serious problem.
If you forget the password, it usually cannot be recovered; most CAs will issue a new certificate instead.
Task 3: Decide whether to import the certificate into Windows
Some programs sign directly from the .pfx file, while others read certificates from the Windows certificate store. Microads Office PDF can use a .pfx certificate file directly, so importing is optional if that is your only signing tool.
If another program needs the certificate in the Windows store, import it like this:
- Double-click the .pfx file. The Certificate Import Wizard opens.
- Choose Current User as the store location.
- Enter the password.
- Leave Mark this key as exportable unchecked. This stops the key being exported again through Windows' normal tools, so the copy in Windows cannot simply be turned back into a .pfx.
- Optionally tick Enable strong private key protection so Windows asks for confirmation every time the key is used.
- Let Windows choose the store automatically, then finish.
A wrong password gives the message "The password you entered is incorrect." To see the imported certificate, press Win+R, type certmgr.msc and look under Personal > Certificates. IT teams can script the same import with the PowerShell command Import-PfxCertificate.
Task 4: Prepare the seal image, and know what it does not do
A stamped image and a digital signature look similar on screen but are completely different things.
| Seal / signature image | Cryptographic signature (.pfx) | |
|---|---|---|
| What it is | A picture placed on the page | A hash of the document, signed with your private key |
| Can someone copy it? | Yes, in seconds | Not without your .pfx and password |
| Detects later edits? | No | Yes, any change breaks validation |
| Proves who signed? | No | Yes, it is tied to the certificate holder |
The seal image is a visual convention that many partners expect, especially in Vietnam and other countries where company seals are customary. The digital signature is what provides the actual proof. Use both, and do them in the right order.
Prepare the seal as a PNG with a transparent background, cropped tightly. A wide white border would cover the contract text.
Task 5: Sign the contract offline
Order matters. Anything you add to the PDF after signing counts as a modification, so place the seal first and apply the cryptographic signature last.
The workflow in Microads Office PDF, which is free and runs on Windows 10 and 11 (64-bit):
- Open
Service-Contract-2026-014.pdf. Re-read it. This is the version you are committing to. - Place the company seal as an image stamp. You can paste the picture or drag
company-seal.pngonto the signature page, then position it over the signature block. - Start the digital signature and choose the .pfx certificate file as the certificate source. Browse to
studio-signing.pfxand enter the password. - Save the signed PDF under a new name, for example
Service-Contract-2026-014-signed.pdf, so the unsigned original is kept.
Microads Office PDF creates PAdES / PKCS#7 signatures. The document stays on your computer throughout, and no Internet connection is needed to sign. The same tool also works with USB tokens if your company switches to one later.
If you prefer other free tools, the steps are similar:
- Adobe Acrobat Reader: use the certificate or digital-signing tool, draw the signature box, then add a digital ID from a file and point it to the .pfx. Menu names change between versions, and Reader may restrict signing on some documents.
- LibreOffice: File > Digital Signatures > Sign Existing PDF. It uses certificates from the Windows store, so import the .pfx first (Task 3).
Task 6: Verify before you send
Never send a signed contract you have not reopened.
- Open the signed file in Microads Office PDF and run its signature verification on the existing signature.
- Check three things:
- the signer name matches your certificate
- the document is reported as unchanged since signing
- the certificate is within its validity period
- Optionally, open it in a second reader as well. This is often the program your recipient uses.
Typical results and what they mean (exact wording varies by reader):
| Message you may see | Likely cause | Fix |
|---|---|---|
| Signed and all signatures are valid | Everything checks out | Send it |
| Signature validity is UNKNOWN | The reader does not trust your CA's root certificate | The recipient adds the CA root to their trusted certificates. In Vietnam this is typically the national root CA. The file itself is not broken. |
| Document has been altered or corrupted since it was signed | The file was edited, flattened or re-saved after signing | Go back to the unsigned original, finish all edits, sign again |
| At least one signature has problems | Expired or revoked certificate, or one of the above | Open the signature details to see which check failed |
Common mistakes that break a valid signature
- Using Print to PDF on the signed file. This creates a new, unsigned document that still shows the signature picture.
- Adding the seal, initials or a page number after signing.
- Letting an email gateway or online converter "optimize" the PDF.
- Signing with a certificate that expires next week and adding no timestamp. Validation can then fail later. If your tool and CA offer RFC 3161 timestamping and long-term validation (LTV), use them for contracts that must remain checkable for years.
Legal note for Vietnam-based signers
In Vietnam, digital signatures are governed by the Law on E-Transactions No. 20/2023/QH15 and its implementing decree on digital signatures and trust services (Decree 23/2025/ND-CP at the time of writing; check the current version on the government's legal documents portal). Remote and soft certificates have their own requirements. Before relying on a .pfx certificate for tax filings or government submissions, confirm with your CA that your certificate type is accepted for that purpose. For commercial contracts between companies, also agree with your partner in advance how signatures will be verified.
Quick reference for the signing desk
- .pfx or .p12 = certificate plus private key; .cer = public part only.
- Check details with
certutil -dump yourfile.pfxbefore use. - File and password are stored separately and never sent together.
- Seal image goes on first, digital signature goes on last.
- Sign offline, save under a new name, keep the unsigned original.
- Reopen the signed file and verify it before sending.
- "Unknown" validity usually means trust settings; "altered" means the file changed after signing.
- Leak suspected: revoke first, investigate later.
If you are setting up a small office without subscriptions, the same suite also includes a .docx word processor and a spreadsheet. See our checklist for free Word and Excel on Windows 11 with no account, or get Microads Office from the product page. For invoices, you can also write amounts in Indian Rupees words without macros. For long contracts, here is how to fix missing table of contents headings.
Frequently asked questions
Can I use the same .pfx file on several computers?
Technically yes, because it is just a file, but every extra copy is another place it can leak. Use one signing computer if possible. If you need a second one, import the certificate there with the key marked non-exportable and delete the copied file afterwards.
What happens to my signed contracts when the certificate expires?
The documents themselves do not change, but some readers will report the signature as invalid or unknown once the certificate has expired. Signatures that include a trusted timestamp and long-term validation data stay verifiable after expiry, so use them when your tools and CA support it.
I forgot the .pfx password. Can the CA reset it?
Usually not. In most cases the password cannot be recovered and the CA will issue a new certificate instead, though policies vary, so ask your CA. Storing the password in a password manager avoids the problem.
Does Microads Office PDF work on a Mac?
No. Microads Office runs only on 64-bit Windows 10 and Windows 11. On a Mac you would need a different signing tool.
Do I need an Internet connection to sign with a .pfx file?
Not for signing itself. Microads Office PDF signs with a .pfx file entirely on your computer. A connection is only needed if your signing tool adds an online timestamp from a timestamp server, or when the recipient's reader checks revocation status.
Microads Office is a free Word, Excel and PDF suite for Windows built by Microads Technology Co., Ltd. (Ho Chi Minh City, Vietnam) and open source under GPL-3.0. Articles are written by the Microads Office team with AI assistance and checked against the software’s real features. Source code · Download
NETWORKDAYS.INTL Friday–Saturday Weekend: Payroll Worked Example
Use Ollama with Excel Locally: Free Offline AI for Formulas
Word Table of Contents Not Updating Headings? 6 Fixes