我正在尝试安装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>
我正在尝试安装Lets Encrypt,但没有成功。我收到以下错误:保留现有证书无法将HTTPS VirtualHost反向映射到原始的重要说明:...
用相似的VirtualHost
删除ServerName
可以解决我的问题。