Home CentOS7 certbot 연장

certbot 연장

by maxblog
0 comment
 certbot --nginx -d maxweb.kr -d www.maxweb.kr

certbot 에 오류가 나거나 연장이 잘 안되는 경우 생성했을때와 마찬 가지로 위와 같이 입력을 해준다.

You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/maxweb.kr.conf)

What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate for maxweb.kr and www.maxweb.kr
Deploying Certificate to VirtualHost /etc/nginx/conf.d/maxweb.conf
Deploying Certificate to VirtualHost /etc/nginx/conf.d/maxweb.conf
Redirecting all traffic on port 80 to ssl in /etc/nginx/conf.d/maxweb.conf
Redirecting all traffic on port 80 to ssl in /etc/nginx/conf.d/maxweb.conf

위와 같은 메세지가 나오면 갱신하거나 다시 설정하는 2번을 눌러준다.

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/maxweb.kr/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/maxweb.kr/privkey.pem
   Your certificate will expire on 2023-10-07. To obtain a new or
   tweaked version of this certificate in the future, simply run
   certbot again with the "certonly" option. To non-interactively
   renew *all* of your certificates, run "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

다음과 같이 Congratulations! 메세지가 나오면 성공되고 완료된것이며
특별한 문제가 없는한 홈페이지를 다시 접속해보면 잘 접속되는 것을 볼수 있다… 😀😀😀

banner

좋아할만한 추천 글

Leave a Comment

Soledad is the Best Newspaper and Magazine WordPress Theme with tons of options and demos ready to import. This theme is perfect for blogs and excellent for online stores, news, magazine or review sites.

Buy Soledad now!

Edtior's Picks

Latest Articles

ⓒ 2023.  FUNCOM all rights reserved.