참고 사이트
https://certbot.eff.org/instructions
Installing snap on Ubuntu
snapd 설치
$ sudo apt update
$ sudo apt install snapd
snapd 설치 후 확인
$ sudo snap install hello-world
hello-world 6.4 from Canonical✓ installed
$ hello-world
Hello World!
cerbot 이 설치되어 있다면 아래 명령어 중 하나를 이용하여 삭제
$ sudo apt-get remove certbot
$ sudo dnf remove certbot
$ sudo yum remove certbot
cerbot 설치
$ sudo snap install --classic certbot
cerbot 커맨드 설정
$ sudo ln -s /snap/bin/certbot /usr/bin/certbot
cerbot 이용해서 certification을 얻고 설치하기
sudo certbot --nginx -d 도메인주소
renewal 확인
$ sudo certbot renew --dry-run
'미니프로젝트 > 지하철역 보관함대여 앱' 카테고리의 다른 글
[ 미니프로젝트] .env 개선 사항 기록 (0) | 2024.04.16 |
---|---|
.env 파일 분리 (0) | 2024.03.27 |
[미니프로젝트] [1] HTTPS 적용 : 1. nginx 설치 (0) | 2024.03.14 |
[ 미니 프로젝트 ] [1] 사물함 반환 구현에 대한 고찰 (0) | 2024.01.27 |
미니프로젝트 ] [1] 정렬방식 (0) | 2024.01.16 |