证书过期
Attempting to renew cert (eduweb.2b3.cn) from /etc/letsencrypt/renewal/eduweb.2b3.cn.conf produced an unexpected error: Failed authorization procedure. eduweb.2b3.cn (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://eduweb.2b3.cn/.well-known/acme-challenge/66jQl5nB6g7pdUgeWTHV2PrRK0vKCisBJEC0rb38BIw: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>". Skipping.
解决方法
要先停掉nginx
service nginx stop
/root/letsencrypt/certbot-auto --force-renewal
/root/letsencrypt/certbot-auto cnrtonly
/root/letsencrypt/certbot renew --dry-run
/root/letsencrypt/certbot-auto nginx start
nginx -s reload
网友评论