“安装LetsEncrypt ssl证书时出现错误,无法安装证书”错误>>

问题描述 投票:3回答:1

我正在尝试安装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反向映射到原始的重要说明:...

ubuntu ssl apache2 lets-encrypt
1个回答
0
投票

用相似的VirtualHost删除ServerName可以解决我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.