검색을 해보니
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot
$ sudo apt install python-certbot-nginx
이렇게 하면 된다고해서 했는데
마지막에서 에러가 나네요~
E: Package 'python-certbot-nginx' has no installation candidate
Attempting to renew cert (도메인) from /etc/letsencrypt/renewal/도메인.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.'). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/도메인/fullchain.pem (failure)
에러 메시지는 위와 같이 나구요..
환경은 우분투 20.4, php 7.4 , nginx 입니다.
답변 2개 / 댓글 10개
1. 제일 처음에 어떻게 설치하신건가요?
2. Nginx 쓰시나요?
3. 오라클 클라우드인가요?
4. 도커로 설치하셨나요?
답변에 대한 댓글 6개
인증서 발급도 이거 보고했었어요 ㅠㅠ
sudo crontab -e
위 명령어 넣어서
acme.sh ~~~~ 는 없습니다.
0 1 * * * certbot renew --post-hook 'service nginx restart;' >> /var/log/letsencrypt/renew.log
이거밖에 없네요
와일드카드 인증서 발급 받으신거죠?
클라우드플레어로 하셨다면
https://www.wsgvet.com/home/639
위 링크를 통해서 API로 받는 방식으로 하는게 제일 좋아요.
그러면 자동으로 갱신까지 해줍니다.
혹시 도메인이 프리넘에서 받은 공짜 도메인이면 luadns로 하면 와일드카드 해줍니다.
https://www.wsgvet.com/home/640
sudo add-apt-repository universe
sudo apt-get update
위처럼 진행해도 안되나요?
답변에 대한 댓글 4개
답변을 작성하려면 로그인이 필요합니다.
여기에서 보고 그대로 따라했어요~
nginx 입니다.
vultr 서버입니다.
도커는 뭔지 몰라유 ㅠㅠ