certutil.exe -importpfx Root mitmproxy-ca-cert.p12 does not work
See original GitHub issueOS: Windows 10 Mitmproxy ver: 4.0.4
I am unable to use cmd or PS to install the certificate. Running the provided command returns this:
C:\projects>certutil -importpfx Root mitmproxy-ca-cert.p12
Enter PFX password:
CertUtil: -importPFX command FAILED: 0x80092007 (-2146885625 CRYPT_E_SELF_SIGNED)
CertUtil: The specified certificate is self signed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Certutil fails with self-signed certificate error - help
I am trying to add the mitmproxy-ca-cert.p12 certificate via cli in Windows 10 (17.09) with: certutil.exe -importpfx Root mitmproxy-ca-cert.p12.
Read more >certutil importpfx to a TPM fails
Hello,. I'm trying to import a PFX into the TPM KSP using certutil. The following command fails: certutil -p password -csp "Microsoft ...
Read more >Import pfx file into particular certificate store from command ...
It is frustrating that CERTUTIL cannot import a PFX to TRUSTEDPEOPLE. CertUtil works fine with a remote PSSession (PowerShell), but importpfx does not...
Read more >Certutil & Powershell – Export & Import PFX
In order to export a cert in the PFX format, you need to find the Serial Number or Thumbprint of the certificate you...
Read more >Converting .pfx Files to .jks Files
Note: Because DigiCert frequently issues certificates cross-signed by multiple Certificate Authorities for enhanced compatibility, your root certificate ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
-importpfx
requires the full certificate including private key. If you have a command to import the cert only we’d be happy to take that, please submit a PR! 😃Hi, I’m begging here for some clarification - is this a bug or feature of certutil? In second case i have to scrap any usage of certutil and switch to PS.