![](/img/trans.png)
[英]Recommendations to remove SSL certificate and generate one with Letsencrypt NGINX on ubuntu 16
[英]“Unable to install the certificate” error when installing LetsEncrypt ssl certificate
我正在尝试安装 Lets Encrypt,但没有成功。 我收到以下错误:
Keeping the existing certificate
Could not reverse map the HTTPS VirtualHost to the original
IMPORTANT NOTES:
Unable to install the certificate
Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/www.deals4u.co.il/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/www.deals4u.co.il/privkey.pem Your cert will expire on 2018-05-19. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the "certonly" option. To non-interactively renew all of your certificates, run "certbot renew"
我的 conf 文件是这样的:
<VirtualHost *:80>
ServerName deals4u.co.il
ServerAlias www.deals4u.co.il
DocumentRoot /var/www/html
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
删除具有类似ServerName
VirtualHost
为我解决了这个问题。
如果您的配置中没有VirtualHost
,请尝试删除ServerAlias
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.