Tag: redirect

How To Create SSL Certificate for Apache on CentOS 7

An SSL certificate is an electronic ‘document’ that is used to bind together a public security key and a website’s identity information (such as name, location, etc.) by means of a digital signature. The ‘document’ is issued by a certificate provider such as GlobalSign, Verisign, GoDaddy, Comodo, Thawte, and others. In this article I will …

Continue reading

Redirect HTTP to HTTPS in Apache

Let’s say you want all traffic to your website use secured connection. You can redirect HTTP to HTTPS in Apache like following: Using virtual hosts and Redirect directive When using SSL, you will frequently have at least two virtual hosts: one on port 80 to serve ordinary requests, and one on port 443 to serve …

Continue reading