4

I want to generate a key pair for use within my applications, but exporting them manually from the mmc is a pain.

How can I use commandline parameters, or otherwise end up with a private certificate that resides on the hard drive, suitable for later distribution?

makerofthings7
  • 60,103
  • 53
  • 215
  • 448

1 Answers1

2

Have a look at this article: http://msdn.microsoft.com/en-us/library/bfsktky3%28VS.80%29.aspx

Specifically, use the -sv option to save the private key to a file.

Bernard
  • 7,908
  • 2
  • 36
  • 33