okjsp/okky

SSL 인증서 갱신

Closed this issue · 1 comments

kenu commented

@kenu

➜  ~ service nginx stop && certbot-auto renew && service nginx start
Stopping nginx:                                            [  OK  ]
Upgrading certbot-auto 0.22.2 to 0.25.1...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/okky.kr.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for okky.kr
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (okky.kr) from /etc/letsencrypt/renewal/okky.kr.conf produced an unexpected error: Failed authorization procedure. okky.kr (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout during connect (likely firewall problem). Skipping.

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/file.okky.kr.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for file.okky.kr
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (file.okky.kr) from /etc/letsencrypt/renewal/file.okky.kr.conf produced an unexpected error: Failed authorization procedure. file.okky.kr (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout after connect (your server may be slow or overloaded). Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/okky.kr/fullchain.pem (failure)
  /etc/letsencrypt/live/file.okky.kr/fullchain.pem (failure)

-------------------------------------------------------------------------------

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/okky.kr/fullchain.pem (failure)
  /etc/letsencrypt/live/file.okky.kr/fullchain.pem (failure)
-------------------------------------------------------------------------------
2 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: file.okky.kr
   Type:   connection
   Detail: Timeout after connect (your server may be slow or
   overloaded)

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.
 - The following errors were reported by the server:

   Domain: okky.kr
   Type:   connection
   Detail: Timeout during connect (likely firewall problem)

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.
➜  ~ service nginx start
Starting nginx:                                            [  OK  ]
kenu commented
➜  ~ service nginx stop && certbot-auto renew && service nginx start
Stopping nginx:                                            [  OK  ]
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/okky.kr.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for okky.kr
Waiting for verification...
Cleaning up challenges

-------------------------------------------------------------------------------
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/okky.kr/fullchain.pem
-------------------------------------------------------------------------------
Plugins selected: Authenticator standalone, Installer None

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/file.okky.kr.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for file.okky.kr
Waiting for verification...
Cleaning up challenges

-------------------------------------------------------------------------------
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/file.okky.kr/fullchain.pem
-------------------------------------------------------------------------------
Plugins selected: Authenticator standalone, Installer None

-------------------------------------------------------------------------------

Congratulations, all renewals succeeded. The following certs have been renewed:
  /etc/letsencrypt/live/okky.kr/fullchain.pem (success)
  /etc/letsencrypt/live/file.okky.kr/fullchain.pem (success)
-------------------------------------------------------------------------------
Starting nginx:                                            [  OK  ]