[Mono-list] certmgr problems
Sat, 18 Dec 2004 02:56:40 -0600
Hi.. I'm trying to use certmgr to import an offical Authenticode
(code-signing) cert from Verisign.
I've created my .pfx file from my .csa and .pkv files and it's password
This .pfx file can be read and added to the My store on win32 using M$'s
Now I'm trying to add it to the My store on a linux box using mono's
I run and get:
$ certmgr -add -c My foo.pfx
Mono Certificate Manager 22.214.171.124
Copyright 2002, 2003 Motus Technologies. Copyright 2004 Novell. BSD
System.Security.Cryptography.CryptographicException: Invalid MAC - file
may have been tampered!
in <0x005a9> Mono.Security.X509.PKCS12:.ctor (byte,string)
in <0x00012> Mono.Security.X509.PKCS12:.ctor (byte)
in <0x0005b> Mono.Security.X509.PKCS12:LoadFromFile (string)
in <0x0022e> Mono.Tools.CertificateManager:LoadCertificates (string)
in <0x00056> Mono.Tools.CertificateManager:Add
in <0x0027f> Mono.Tools.CertificateManager:Main (string)
I don't get prompted for a password or anything, but it's my
understanding that you need a password to do the PKCS12 decoding.