Posts tagged cygwin
How to Create Self-Signed SSL Certificates (Part 2)
7
In the first part of this series I showed how to create a Root Certificate that you can use to sign your own certificates and deploy to your users to allow you to quickly and cheaply secure internal websites or applications that use SSL without having to pay for the often costly commercial SSL certificates.
In this part I will show how to generate a Certificate Signing Request and then use your new Root Certificate to create a Self-Signed SSL certificate that you can then install into your webserver.
Once again I will be using Cygwin and OpenSSL to generate the certificates so if you haven’t already got it installed check out my Cygwin Install Guide.
How to Create Self-Signed SSL Certificates (Part 1)
5
As more and more programs realise the importance of security many are turning to SSL to secure connections between clients and servers anyone who has spent any time with SSL probably knows that SSL certificates can be quite expensive. However there are times when it simply isn’t necessary to pay for an SSL certificate, there is an alternative, and even better is its free!
In this first guide I will explain how to generate your own Root Certificate and then in the next part I will show how you can then use this Root Certificate to sign your own certificates, the final part of this series will explain how to then deploy the certificate using Group Policy.
This magical alternative is to sign your own SSL certificates, however many people are put off this because of the warnings web browsers generate these days when then encounter a self-signed SSL certificate. For Internal deployments though, self-signed certificates are a perfectly valid option as it is possible to deploy the certificates so users don’t receive any warnings. Of course, even this can get tedious as for each new or renewed certificate you have to ensure this is deployed correctly for all your users, if you have a number of different web pages or web-apps that you want to secure this can quickly create additional work and take up time you could be spending on other things.
Don’t worry though, there is a better option! This is to become your own Root Certificate Authority and then use this to sign your certificates, that way all you need to do is to deploy the one Root Certificate to your users and then any certificate that you sign with it is automatically trusted and no warnings are displayed. This method allows you to secure any number of services or websites using an SSL certificate that you know will be accepted by their browser.
How to Install Cygwin
1
Cygwin is an awesome tool that allows you to access a Linux-like environment from within Windows, you get access to almost all the same binaries as a normal Linux install but without having to run a full-fledged Linux distribution, this can be very handy for when you either just want to learn one particular tool or make use of one particular program.
The best thing is that Cygwin is also really easy to install and use so even if you are a total Linux newbie there is no excuse not to give it a go.
Installing Cygwin is as simple as this: