MicroadsMICROADS Office

PDF & digital signatures

Sign a PDF with a .pfx File for Free (and Keep It Safe)

Sign a PDF with a .pfx File for Free (and Keep It Safe)
In this article
  1. The scenario: a service contract that needs your signature and seal
  2. Task 1: Understand what you were given
  3. Task 2: Store the .pfx and password safely
  4. Task 3: Decide whether to import the certificate into Windows
  5. Task 4: Prepare the seal image, and know what it does not do
  6. Task 5: Sign the contract offline
  7. Task 6: Verify before you send
  8. Legal note for Vietnam-based signers
  9. 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:

ItemExampleWhat it is
Certificate filestudio-signing.pfxPKCS#12 bundle: certificate + private key + usually the CA chain
PasswordSent separately by the CAUnlocks the private key inside the file
DocumentService-Contract-2026-014.pdfFinal, agreed version of the contract
Seal imagecompany-seal.pngScan 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.

ExtensionContains private key?Can you sign with it?
.pfxYes, password-protectedYes
.p12Yes, password-protected (same PKCS#12 format as .pfx)Yes
.cer / .crtNo, public certificate onlyNo. 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:

  1. Open Command Prompt in the folder that holds the file (type cmd in File Explorer's address bar and press Enter).
  2. Run certutil -dump studio-signing.pfx
  3. Enter the password when prompted.
  4. 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:

  1. Double-click the .pfx file. The Certificate Import Wizard opens.
  2. Choose Current User as the store location.
  3. Enter the password.
  4. 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.
  5. Optionally tick Enable strong private key protection so Windows asks for confirmation every time the key is used.
  6. 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 imageCryptographic signature (.pfx)
What it isA picture placed on the pageA hash of the document, signed with your private key
Can someone copy it?Yes, in secondsNot without your .pfx and password
Detects later edits?NoYes, any change breaks validation
Proves who signed?NoYes, 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):

  1. Open Service-Contract-2026-014.pdf. Re-read it. This is the version you are committing to.
  2. Place the company seal as an image stamp. You can paste the picture or drag company-seal.png onto the signature page, then position it over the signature block.
  3. Start the digital signature and choose the .pfx certificate file as the certificate source. Browse to studio-signing.pfx and enter the password.
  4. 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.

  1. Open the signed file in Microads Office PDF and run its signature verification on the existing signature.
  2. Check three things:
    • the signer name matches your certificate
    • the document is reported as unchanged since signing
    • the certificate is within its validity period
  3. 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 seeLikely causeFix
Signed and all signatures are validEverything checks outSend it
Signature validity is UNKNOWNThe reader does not trust your CA's root certificateThe 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 signedThe file was edited, flattened or re-saved after signingGo back to the unsigned original, finish all edits, sign again
At least one signature has problemsExpired or revoked certificate, or one of the aboveOpen 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.

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.pfx before 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.

About Microads Office

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

Before you download

Microads Office is free, safe and contains no viruses. Because it is a newly released app with few downloads so far, your browser and Windows do not “know” it yet and may show a warning. You can safely continue:

  1. Chrome blocks the download (“this file isn’t commonly downloaded”): press Ctrl+J → click ⋮ next to the file → Download suspicious file. In Edge: click … → Keep.
  2. While installing, Windows shows a blue screen “Windows protected your PC”: click More info → Run anyway.

Prefer no warnings? Get it from Microsoft Store.

Continue download