I want to have SSL for my site

September 8, 2014 4.2k views

I want to have SSL for my site, but if i bought an SSL from Namecheap, how can i install it on my server.

I have a Cloudflare pro, but my wordpress site on server don’t load when i turn on ssl flexible on Cloudflare.

Please help me, thanks.

1 Answer

Check out this tutorial on all the details of setting up Apache to serve content using SSL. Namecheap also provides their own documentation. Essentially what you need to do is upload the certs and add a new VirtualHost to your Apache config. Something like:

<VirtualHost *:443>
    SSLEngine on                                                                
    SSLProtocol all -SSLv2                                                      
    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM                

    SSLCertificateFile /etc/apache2/ssl/ssl.crt                           
    SSLCertificateKeyFile /etc/apache2/ssl/private.key                        
    SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem 
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www/html

    # Other configuration...


If you could expand on the problems you faced using CloudFlare’s flexible SSL, we might be able to help you.

by Nik van der Ploeg
Our focus here is setting up Apache with a free signed SSL Cert on a VPS.
  • Thanks.

    When i change my URL in Wordpress setting to https and turn on SSL flexible on my Cloudflare account, i can’t access my site.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!