Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

makecert crashing 2nd time I try it. I'm not removing something it creates.

Hi Experts,

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...

Thank you!
Mike
ASKER CERTIFIED SOLUTION
Avatar of btan
btan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thready
thready

ASKER

Thank you!