Using makecert for Development SSL

Here are my scripts for doing this: Create Certificate Authority Create a self-signed certificate (-r), with an exportable private key (-pe), using SHA1 (-r), for signing (-sky signature). The private key is written to a file (-sv). makecert -r -pe -n “CN=My Root Authority” -ss CA -sr CurrentUser ^ -a sha1 -sky signature -cy authority … Read more

How to pass multiple arguments in processStartInfo?

It is purely a string: startInfo.Arguments = “-sk server -sky exchange -pe -n CN=localhost -ir LocalMachine -is Root -ic MyCA.cer -sr LocalMachine -ss My MyAdHocTestCert.cer” Of course, when arguments contain whitespaces you’ll have to escape them using \” \”, like: “… -ss \”My MyAdHocTestCert.cer\”” See MSDN for this.