본문 바로가기

IT

amazon linux2 certbot 설치 및 설정

반응형
#AWS 서버에 접속 및 Let's Encrypt(certbot) 설치
sudo wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/

#리포지토리 패키지  설치
sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-*.rpm

#완료 후 epel를 활성화
sudo yum-config-manager --enable epel*

#certbot을 설치
sudo yum install -y certbot python2-certbot-apache
sudo yum install certbot-nginx



#certbot 설정
sudo certbot --nginx -d www.example.com

아마존 리눅스2에 certbot 설치 방법

amazon linux2 certbot 설치 방법

amaon linux2 let's encryppted 설치 방법

'IT' 카테고리의 다른 글

springboot EntityManagerFactory error  (0) 2023.04.18
ChatGPT 활용법 모음  (0) 2023.04.13
nginx could not open error log file 13:Permission denied  (0) 2022.04.24
gradlew 유용한 명령어  (0) 2022.02.22
프로그래머스 단어 변환 lv3  (0) 2022.02.12