I need to quickly generate a self signed certificate on a Windows Server. I'd like to use the standard CLI tools that ship with it. I know I can use openssl.
There is a way of doing it, using just
The trick is to set
The doc is almost right ... a new self-signed certificate is installed (as can be verified by using
There are all kinds of ways to do this. Next time simply searching the web should provide you with thousands of sites with instructions.
Either way the easiest way to generate certs, for me at least, is just to fire up IIS and use the SSL tools within IIS to request a certificate. Sure there are CLI tools, but the step by step wizard is a piece of cake to use without having to remember formatting.
If you really want to do this via the CLI you can follow these instructions and obtain the makecert tool from Microsoft: http://msdn.microsoft.com/en-US/library/bfsktky3(v=VS.80).aspx