ํธ๋ฌ๋ธ ์ํ
[nginx] let’s encrypt ๊ถํ ๋ฌธ์ ํด๊ฒฐ
DAHLIA CHOI
2024. 2. 2. 13:50
nginx๋ฅผ ๋ค์ ์์ํ๋ ค๊ณ ํ๋๋ฐ ์๊พธ cert.pem์ ๊ถํ์ด ์๋ค๋ ์ค๋ฅ๊ฐ ๋ด๋ค..
โ๏ธ ํด๊ฒฐ๋ฐฉ๋ฒ
certbot certonly --manual -d ${domain}
cd /var/log/
sudo chmod -R 775 letsencrypt/
sudo chgrp -R ec2-user letsencrypt/
cd /var/lib
sudo chmod -R 775 letsencrypt/
sudo chgrp -R ec2-user letsencrypt/
cd /etc
sudo chmod -R 775 letsencrypt/
sudo chgrp -R ec2-user letsencrypt/
์ด๋ ๊ฒ letsencrypt์ ec2-user ๊ถํ์ ์คฌ๋๋ ์ค๋ฅ๊ฐ ํด๊ฒฐ๋์๋ค!