Where is private key stored when we generate certificate by makecert.exe ? RRS feed

  • Question

  • Hi All,
            I am new to SSPI, earlier I used JSSE. In that we had keystore containing Private Key and certificate. So whenever we generate certificate and Key Pair, private key gets stored in keystore. For SSPI, I used following command for generating self signed certificate, But I am not understanding where generated private key is present.

    * C:\>makecert -r -pe -n "CN=MachineName_SS" -ss my -a sha1 -sky exchange -eku -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 MachineName_SS.cer

    Because my next step is do it programmatically, so for that I need better understanding.

    Can anyone clarify more on this ?

    Thanks in advance,
    Friday, December 18, 2009 11:44 AM


  • Got it working.. but having few problems in storing it in Trusted Certificates.
    • Marked as answer by swapnil kamble Monday, December 21, 2009 9:13 AM
    Monday, December 21, 2009 9:13 AM