[Mono-dev] certmgr problem

2015-10-16 Thread Neale Ferguson
When running certmgr to import a key I am getting the following error: System.Security.Cryptography.CryptographicException: Invalid MAC - file may have been tampered! I have verified that the key is ok: [neale@lneale3 - mono] openssl pkcs12 -info -in /tmp/MonoTestCert.pfx Enter Import Password:

Re: [Mono-dev] certmgr problem

2015-10-19 Thread Neale Ferguson
Further to this problem. This is how the certs/keys were created. It all works under Windows including the certmgr —importKey but always gives the MAC error on mono: makecert.exe -n "CN=MonoTestCA" -cy authority -a sha1 -len 2048 -pe -r -sv MonoTestCA.pvk MonoTestCA.cer makecert.exe -n "CN=MonoTes