Certutil fails with self-signed certificate error

hi.

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

It asks an admin prompt. So inside an admin cmd.exe, it fails with:

certutil.exe -importpfx Root mitmproxy-ca-cert.p12
Entrez le mot de passe PFX :
CertUtil : -importPFX ÉCHEC de la commande : 0x80092007 (-2146885625 CRYPT_E_SELF_SIGNED)
CertUtil: Le certificat spécifié est auto-signé.

I use a blank password, is that right ? If not, what is the password ?

How old is your <your user folder>/.mitmproxy folder? If you created your root certificate authority with an older version, can you delete ~/.mitmproxy and try again?

the folder was just created for the first time when Iaunched by mimtproxy for the first time. Just hours ago.

I could try deleting it and retry but I don’t think that will change anything. Unless the certificate is changed at each rerun.

Tihs is Windows 10 HOME 17.09

Weird - there’s no password on the certificate, I’m not sure why it’s complaining… :-/

I have the same problem. I just installed the 4.0.4 version, have the same issue.

Similar issue in Kali Linux. Not able to see any certificates added successfully! Not sure what is missting? Any help …