How to Configure letsencrypt with Apache on Centos 7 Server

From Brian Nelson Ramblings
Revision as of 13:31, 19 December 2015 by Brian (Talk | contribs) (Created page with "==How to Configure letsencrypt with Apache on Centos 7 Server== With all the talk about FREE ssl certificates and how Google is trying to move towards a more secure internet....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to Configure letsencrypt with Apache on Centos 7 Server

With all the talk about FREE ssl certificates and how Google is trying to move towards a more secure internet.

I thought it was time to setup an SSL Certificate with Letsencrypt on Centos 7

Install letsencrypt

Get everything using Git

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto --help

Now I must note this was done on a Fresh VPS with nothing else installed.

I did have to stop firewalld to get everything to function correctly.

systemctl stop firewalld

Generating the SSL Certificate

Now since I do not have apache or anything else installed yet, I did certificates only in standalone.

./letsencrypt-auto certonly --standalone --email [email protected] -d briansnelson.com -d www.briansnelson.com

You will get a notice that everything has been completed and where can find your ssl certificates

To view your ssl certificates

cd /etc/letsencrypt/live/www.briansnelson.com/
ls

Output:

cert.pem  chain.pem  fullchain.pem  privkey.pem

Clean up

Also do not forget to start the firewall backup

systemctl start firewalld