Here are my scripts I like to use to manage SSL/TLS certs.
Note scripts that use the crt file depend on you having gone through the process to get your crt to use with these scripts. If you're starting from scratch:
- Make your private key.
- Make your Certificate Signing Request (CSR) using the key.
- Submit the CSR to whomever you're getting your certificate from.
- Go through whatever the SSL/TLS vendor's process is and get your Certificate (CRT).
- Many users will be happy with their key and crt files. Some will need to combine the crt with bundled chained certs. There are various helper scripts that'll get you to convert the certificates to various formats.
These are provided as-is. Hence, if they set your house on fire (etc), then I guess you did it to yourself? I use most of these scripts for my production context, but I can't guarantee anything. The MS-oriented ones I haven't really fully tested. I learn as I go. Good luck. ^_^ Disclaimer
This is a one-shot that'll make both a private key and a self-signed SSL certificate for you. This is nice because you can get SSL for free. But it sucks because it's self-signed SSL that will make most browsers have a minor panic-attack and send users running away. But, for development contexts, etc, it's handy to have. Use it like: makeSelfSignedSSLCertificate.sh
./makeSelfSignedSSLCertificate.sh whiskeytangofoxtrot.netThis invokation would create whiskeytangofoxtrot.net.key and whiskeytangofoxtrot.net.crt