PFX/P12 import fails: The specified network password is not correct (Windows)
Windows can't import the .pfx, either because the password is wrong or the file uses an unsupported/damaged format.
The specified network password is not correctPFX import The specified network password is not correctImport-PfxCertificate: The specified network password is not correctcertutil -importpfx The specified network password is not correctWindows cannot import PFX password Meaning
Verify the password and the file with openssl pkcs12 -in file.pfx -noout. Re-export with a compatible algorithm (-keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg sha1 for old Windows, AES for current), and import with Import-PfxCertificate or certutil to see the exact error.
Common causes
- Wrong password (or hidden characters)
- PFX exported with AES not supported by an old Windows
- Corrupt file transfer (text mode)
- Missing private key in the file
- Empty password confusion
⚡ Quick fix
- Test the file with OpenSSL
- Re-export with an algorithm compatible with the target Windows
- Use
Import-PfxCertificate -Password
Detailed fix by platform
PowerShell
- bash
$pw = ConvertTo-SecureString "secret" -AsPlainText -Force Import-PfxCertificate -FilePath .\site.pfx -CertStoreLocation Cert:\LocalMachine\My -Password $pw
How to diagnose
- Password — Correct?
- Algorithm — Supported?
- File — Intact?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 0x800CCC0D Outlook error 0x800CCC0D: Cannot find the server — the host name of the mail server couldn't be resolved
- 0x800CCC0E Outlook error 0x800CCC0E: Cannot connect to the outgoing (SMTP) server — sending failed
- certificate does not have a private key (IIS) Windows/IIS: A specified logon session does not exist / The certificate does not have a private key associated with it
Most viewed in SSL / TLS
- HTTPSConnectionPool: Max retries exceeded (SSLError) Python requests: HTTPSConnectionPool(host='api.example.com', port=443): Max retries exceeded with url: /v1 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] ...')))
- DST Root CA X3 expired (old clients fail) Old clients: certificate has expired — Let's Encrypt chain uses expired DST Root CA X3 (OpenSSL 1.0.x, Android < 7.1.1)
- Keystore was tampered with, or password was incorrect Java keytool: java.io.IOException: Keystore was tampered with, or password was incorrect
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 18 Nov 2026