I'm doing the following command on Visual Studio 2008 command line:
makecert.exe -sr currentuser -ss ROOT -a sha1 -n "CN=MyCompany,O=MyCompany,OU=MyUnit" -sky signature -pe -r "MyCompanyCA.cer" -sv "MyCompanyCA.pvk"
This works fine the first time. But if I go into MMC and remove the certificate it generates and delete the generated files in the current directory (the cert and the pvk) and try the same command again, it crashes. There's something else I need to delete somewhere - would anyone know what that something else is?
I know it's this because if I change the name of MyCompany to MyCompany2 (throughout), it works...