更新我的加密证书时出错

时间:2019-06-05 12:02:42

标签: apache https certificate lets-encrypt

每当我尝试使用cerbot续订我的域的证书时,都会遇到错误消息。

这是一个运行ubuntu和apache的linux服务器,证书是由certbot颁发的,该服务器没有控制面板,因此所有操作均使用ssh完成。

底部显示错误消息的命令行响应:

Attempting to parse the version 0.32.0 renewal configuration file found at /etc/letsencrypt/renewal/mydomin.com.conf with version 0.31.0 of Certbot.

This might not work.

Cert is due for renewal, auto-renewing...

Plugins selected: Authenticator webroot, Installer None

Renewing an existing certificate

Performing the following challenges:

http-01 challenge for mydomin.com

http-01 challenge for www.mydomin.com

Cleaning up challenges

Attempting to renew cert (mydomin.com) from /etc/letsencrypt/renewal
/mydomin.com.conf produced an unexpected error: Missing command line flag or config entry for this setting:

Input the webroot for mydomin.com:. Skipping.

All renewal attempts failed. The following certs could not be renewed:

  /etc/letsencrypt/live/mydomin.com/fullchain.pem (failure)

1 个答案:

答案 0 :(得分:0)

您可以在here

找到一些答案

快速检查您的certbot更新配置

[[webroot_map]]部分必须是这样的

sub.domain.tld = /var/www/certbot