Click here to Skip to main content
16,012,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. Certificates is giving me some problems. I´m now into things I don´t really understand.

I’ve Created a Certificate to act as Root Certificate Authority and it´s OK:
1) C:\VS\makecert -n "CN=RootCATest" -r -sv RootCATest.pvk RootCATest.cer
2) I’ve made my Console in mmc and everything is OK:
3) Now I´m trying to Create and Install my Temporary Service Certificate:
C:\VS\makecert -sk MyKeyName -iv RootCATest.pvk -n "CN=tempCert" -ic RootCATest.cer -sr localmachine -ss my -sky exchange -pe tempCert.cer
In the map VS, the file tempCert.pvk exists!

And I get this erro message:
C:\vs\Can´t access the key of the issuer <’tempCert.pvk’>
Failed

Question:
1) What do I do wrong?
2) Is there a way to code this in C#

Best to you all
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900