๋ฐ์ํ
Let's Encrypt
[Ubuntu] Let's Encrypt๋ฅผ ํตํด HTTPS(SSL) ๋ฌด๋ฃ๋ก ๊ตฌ์ถํ๊ธฐ
[Ubuntu] Let's Encrypt๋ฅผ ํตํด HTTPS(SSL) ๋ฌด๋ฃ๋ก ๊ตฌ์ถํ๊ธฐ
2023.10.16Certbot ์ค์น ํด๋น ๋ช
๋ น์ด๋ Apache ์น์๋ฒ๋ฅผ ๊ธฐ์ค์ผ๋ก ํฉ๋๋ค. sudo apt update sudo apt install certbot sudo certbot --apache -d example.com WordPress ์ค์ ์
๋ฐ์ดํธ 1. ์๋ํ๋ ์ค ๋์๋ณด๋ ๋ก๊ทธ์ธ 2. ์ค์ -> ์ผ๋ฐ -> WordPress Address (URL)'๊ณผ 'Site Address (URL)'์ https://example.com์ผ๋ก ๋ณ๊ฒฝ SSL ๊ฐ์ ์ค์ /var/www/html/(์๋ํ๋ ์ค ๊ฒฝ๋ก) .htaccess ํ์ผ์ ๋ค์ ์ฝ๋๋ฅผ ์ถ๊ฐ Apache ์ฌ์์ sudo systemctl restart apache2 SSL ๊ฐฑ์ ์๋ํ sudo crontab -e 0 0 1 * * /usr/bin/certbot ..