请确保您的站点指向运行您的加密客户端的同一服务器

时间:2017-02-16 13:40:52

标签: lets-encrypt

我有Easyengine,我不会在90天内更新认证。所以我试着在这段时间后更新,我有错误

命令我运行:

  

ee site update mysite --letsencrypt

ERROR : Cannot RENEW SSL cert !                                                                                                                                                                                                           
Your current cert already EXPIRED ! 

在日志文件中,我运行:

  

tail /var/log/ee/ee.log

2017-02-16 13:29:01,999 (DEBUG) ee : Running command: date -d "`openssl x509 -in /etc/letsencrypt/live/mysite/cert.pem -text -noout|grep "Not After"|cut -c 25-`" +%s                                                         
2017-02-16 13:29:02,009 (DEBUG) ee : Command Output: 1486812180                                                                                                                                                                           
,                                                                                                                                                                                                                                         
Command Error:                                                                                                                                                                                                                            
2017-02-16 13:29:02,010 (ERROR) ee : Your current cert already EXPIRED !                                                                                                                                                                  
2017-02-16 13:29:02,010 (DEBUG) ee : Running command: date -d "`openssl x509 -in /etc/letsencrypt/live/mysite/cert.pem -text -noout|grep "Not After"|cut -c 25-`"                                                             
2017-02-16 13:29:02,021 (DEBUG) ee : Command Output: Sat Feb 11 11:23:00 UTC 2017                                                                                                                                                         
,                                                                                                                                                                                                                                         
Command Error:                                                                                                                                                                                                                            
2017-02-16 13:29:02,070 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!

我能做什么?我已经尝试使用

停用认证
  

ee site update mysite --letsencrypt = off

在此之后使用

续订
  

ee site update mysite --le = renew

JUST FOR TEST,我删除 mysite 的所有内容后收到的另一个错误是:

Please make sure that your site is pointed to same server on which you are running Let's Encrypt Client

但是在命令sudo ee site info中,我收到了这个:

Nginx configuration      wp wpfc (enabled)                                                                                                                                                                                                
PHP Version              5.6                                                                                                                                                                                                              
HHVM                     enabled                                                                                                                                                                                                          
SSL                      disabled                                                                                                                                                                                                         


access_log               /var/www/mysite/logs/access.log                                                                                                                                                                      
error_log                /var/www/mysite/logs/error.log                                                                                                                                                                       
Webroot                  /var/www/mysite 

那就是'网站'已经指向运行letsencrypt客户端的同一台服务器,在我的nginx.conf中我已经定义了mysite.com和www.mysite.com。

1 个答案:

答案 0 :(得分:2)

问题确实是由于加密使用了一个Python软件包,但是这个错误只是被捕获了#34;不要留下那么多痕迹。

我只需设置区域设置即可使用Easy Engine续订过期的证书:

export LC_ALL="en_US.UTF-8" && export LC_CTYPE="en_US.UTF-8"
相关问题