我运行了此命令:
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.de或https://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 / ...