- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2017-3-13
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
某一网站ssl即将过期,发现更新失败,于是手动更新,失败,删除证书后,lnmp ssl add添加证书也失败,运行语句如下:It will be processed automatically.
You select the exist rewrite rule:/usr/local/nginx/conf/wordpress.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
/bin/certbot [found]
index-url = https://pypi.doubanio.com/simple/
pip.conf exist.
Starting create SSL Certificate use Let's Encrypt...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.***.club
http-01 challenge for ***.club
Using the webroot path /home/wwwroot/www.***.club for all unmatched domains.
Waiting for verification...
Cleaning up challenges
live directory exists for www.***.club
Let's Encrypt SSL Certificate create failed!
附件是失败的log,已经替换了网站信息。
单独运行 /bin/certbot 有以下提示
certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Failed to find executable apachectl in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.
请问军哥,这个该怎么解决呢。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|