没有URL前缀https://的Letsencrypt SSL证书不起作用。

问题描述 投票:0回答:1
我的域名是:https://www.neasy.de

我运行了此命令:

git clone https://github.com/certbot/certbot cd certbot ./certbot-auto certonly -a standalone -d neasy.de -d www.neasy.de cd /etc/letsencrypt/live/neasy.de openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat -CAfile chain.pem -caname root

它产生了此输出:

My web server is (include version): The operating system my web server runs on is (include version): linux My hosting provider, if applicable, is: I can login to a root shell on my machine (yes or no, or I don’t know):yes I’m using a control panel to manage my site (no, or provide the name and version of the control panel): The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):certbot 0.31.0

4个月前,我第一次使用letencrypt,成功使用了它。我知道我必须生成证书有无www。前缀,这一点很重要。我的公司已将域名从neasy.app更改为neasy.de,为此,我删除了旧证书并为neasy.de生成了新证书。

现在,我遇到了一个新的麻烦,即使我在浏览器中编写neasy.de,即使我编写了www.neasy.de,它也不起作用。但是如果我至少写一次https://neasy.dehttps://www.neasy.de,它会起作用,而下一次,我不需要写https://前缀。

这个问题对我来说真的很奇怪,任何帮助将不胜感激。如果您已经尝试编写https://neasy.de,则可以打开Firefox浏览器专用窗口

我的域名是:https://www.neasy.de我运行了此命令:git clone https://github.com/certbot/certbot cd certbot ./certbot-auto certonly -a独立-d neasy.de- d www.neasy.de cd / etc / letsencrypt / ...

spring-boot ssl-certificate lets-encrypt certbot
1个回答
0
投票
由于您使用的是Ubuntu,请遵循以下指南:https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache.html(必须确保从下拉列表中选择您的ubuntu版本)。这将指导您完成整个过程,而无需人工操作。只要确保运行所有与apt相关的命令即可。
© www.soinside.com 2019 - 2024. All rights reserved.