728x90
무료 인증서 let`s Encrypt 를 설치해보자!!
시작하기 - Let's Encrypt - 무료 SSL/TLS 인증서
참고: 번역된 이후로 영문판이 업데이트되었습니다 (2023. 12. 20.) 영어로 보기 웹 사이트에서 HTTPS를 사용하려면 CA(인증 기관)에서 인증서(파일 유형)를 가져와야 합니다. Let’s Encrypt는 CA입니다. L
letsencrypt.org
인증서를 사용할 환경을 선택한다.
snapd 설치
1. repository 업그레이드
sudo dnf install epel-release
sudo dnf upgrade
2. snapd 설치
sudo yum install snapd
✨혹시 Error: Unable to find a match: snapd 에러가 나온다면 /etc/yum.repos.d/oracle-epel-ol8.repo 를 수정할것
sudo vi /etc/yum.repos.d/oracle-epel-ol8.repo
[ol8_developer_EPEL] 아래에 enabled 값을 0 에서 1로 변경할것
3. snapd 서비스 연결
sudo systemctl enable --now snapd.socket
4. snapd 링크 연결
sudo ln -s /var/lib/snapd/snap /snap
Certbot 설치
1. certboot 설치
sudo snap install --classic certbot
2. certbot 링크 연결
sudo ln -s /snap/bin/certbot /usr/bin/certbot
3. certbot nginx로 실행
sudo certbot --nginx
또는
sudo certbot certonly --nginx
4. 자동갱신 테스트
sudo certbot renew --dry-run
Certbot Instructions
Tagline
certbot.eff.org
728x90