Posts

Showing posts from December, 2013

Configue SSL in Apache 2.2 on MS Windows

Following are the steps to configure the Apache 2.2 on the windows machine. 1) Download and install apache 2.2 from  here 2) Follow the below instructions, Open Command prompt and browse to ~Apache2.2/bin directory. Type,  openssl req -config ../conf/openssl.cnf -new -out ssl_cert.csr -keyout ssl_cert.pem System will ask for the details about the certificate.  Fill out all the information but, Make sure that you remember the entered PEM pass phrase. Common name should be the domain name that you will use this certificate on. Type,  openssl rsa -in ssl_cert.pem -out ssl_cert.key You will be asked to enter the earlier entered PEM pass phrase. It should display "writing RSA key" output. Type,  openssl x509 -in ssl_cert.csr -out ssl_cert.crt -req -signkey ssl_cert.key -days 365 365 is the no. of days till the certificate is valid. Keep, ssl_cert.key & ssl_cert.csr file at separate location ("C:\SSL_certificates\" folder) and you can del