Install Comodo SSL Certificate on Rackspace Cloud Server is Fully Working Guide on How To Handle the Process of Installing a Real SSL Cert. Actually, the examples provided by the free version SSL Certificates are not really great enough with real life. However, we will ask you to consider about having a fully separate server for the HTTPS domain to install Comodo SSL Certificate or Any SSL Certificate on Rackspace Cloud Server. In the next paragraph we have explained the reasons plus the required guides for preparation is also provided.
Preparation and Guides to Proceed to Install Comodo SSL Certificate on Rackspace Cloud Server
The first thing is that, you should follow the guide – How To Install SSL Certificate on Rackspace Cloud Server almost exactly we have written. We actually can not use all the features of Apache2 Webserver Software which are used for normal HTTP server. Usage of cookie, cache becomes invalid. So the setup should be made specially for HTTPS URLs. Normally, HTTP or port 80 gets opened when we install Apache2. So, you need to deactivate the default HTTP port first. We will go to the commands later. Now, you need to generate a CSR file in the way we have described in the guide SSL Certificates and Rackspace Cloud Server.
Most do a big blunder – they forget where is the key file generated during the process. This Key is important and you’ll unable to perform anything without it. We have a video guide on Ubuntu 13.10 LAMP Server Setup on Rackspace Cloud Server and full guide on How To Install WordPress on Ubuntu 13.10 on Rackspace Cloud Server. This guide is very important for both Ubuntu 13.10 and next version of Ubuntu (14.x), which will be LTS like the previous versions. So, from the last guide, you actually knew about a feature – a2ensite (enables ghost) and a2dissite (disables ghost) commands. That is what the way we were saying to enable and disable the SSL and default non-SSL config.
---
Update : You can read the guide to Install WordPress on Ubuntu 14.o4 LTS now.
So actually you have generated the CSR, have the Key (usually its named apache.key) on server and have received the SSL certificate from Comodo. You will receive a zip file with two files inside. Practically, you need to upload them to the place where that apache.key (which actually was used to generate your CSR) resides – this is the basic. You can transfer using SFTP. It is easy.
Install Comodo SSL Certificate on Rackspace Cloud Server
Even if you used another server to generate the CSR, it will not matter. That apache.key and these two keys sent by Comodo will work fine. You must not be running memcached, redid etc with 8080 port forwarding. You can disable the HTTP site (that one with it works! default index.html file), enable SSL module :
1 2 3 4 | # enable SSL module sudo a2enmod ssl # restart apache2 sudo service apache2 restart |
You have a path where the SSL files, keys etc. are uploaded, right?
take that it is :
1 | /etc/apache2/ssl/ |
Now first disable HTTP port 80 :
1 2 3 4 5 | sudo a2dissite 000-default.conf # or sudo a2dissite 000-default # restart or better reboot sudo service apache2 restart |
You probably want to block port 80 forever on this server using some firewall policy. It is optional but the best. Now, you need to edit the file :
1 2 3 4 | cd nano /etc/apache2/sites-available/ # list files with ls command # edit the default-ssl.conf nano default-ssl.conf |
The only few things are needed to be edited and activated. Do not uncomment those hundreds of commented out line with #, here is the practical changes needed :
1 2 3 4 5 | SSLEngine on SSLCertificateKeyFile /etc/apache2/ssl/apache.key SSLCertificateFile /etc/ssl/ssl.crt/yourDomainName.crt SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle *** # obviously document root should be defined |
Restart apache after enabling the default SSL conf :
1 2 | sudo a2ensite default-ssl.conf sudo service apache2 restart |
We actually will suggest to serve this IP fully separately with only PHP, HTML, Perl etc. needed files. You must use the SSL urls of Cloud Files for this server. For SEO purpose, there must be some prerequisite to access the HTTPS url or the HTTP url should redirect towards HTTPS. Running and maintaining WordPress can be painful as for security reason, normal update might not work, that is why we suggest to use the HTML, PHP etc. pages. Do not forget to add the server IP as CNAME (blank and www) from Cloud DNS. Else, obviously it will not work.
Tagged With Comoda ssl certificate attache to rackspace