오지's blog

Ubuntu, Apache위에 letencrypt 설치 본문

개발노트/서버 관리

Ubuntu, Apache위에 letencrypt 설치

오지구영ojjy90 2020. 8. 13. 14:56
728x90
반응형

https://medium.com/@hbayraktar/how-to-setup-lets-encrypt-ssl-for-apache-on-ubuntu-18-04-cfa97a83bc08

 

How to Setup Let’s Encrypt SSL for Apache on Ubuntu 18.04

1-Apache Vhost Configuration

medium.com

 

2-Add Certbot PPA and Install Certbot

You’ll need to add the Certbot PPA to your list of repositories.

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache

 

 

3-Install Let’s Encrypt Client

Use the following command to do it.

sudo wget https://dl.eff.org/certbot-auto -O /usr/sbin/certbot-auto
sudo chmod a+x /usr/sbin/certbot-auto

 

 

4 — Get a SSL Certificate

sudo certbot-auto --apache -d redhillinteractive.com -d www.redhillinteractive.com

 

 

5 — Configure SSL Auto-Renew

You can test automatic renewal for your certificates by running this command:

sudo certbot renew --dry-run

 

 

5 — Check your website’s

To confirm that your site is set up properly, visit https://yourwebsite.com/ in your browser and look for the lock icon in the URL bar.

Comments