我正在尝试为* .foobar.com创建证书
./certbot-auto certonly --standalone-supported-challenges http-01 -d *.foobar.com
但我得到错误:
certbot: error: unrecognized arguments: --standalone-supported-challenges http-01
我有谷歌这个错误,但我一直在使用apache服务器的示例获得答案。使用简单的golang webserver为典型的web应用程序(html,css,js,svgs,jpgs)提供服务的命令是什么?
所以我遵循官方certbot说明:
https://certbot.eff.org/lets-encrypt/ubuntubionic-other
这是让它为我工作的命令:
cd certbot # change into cerbot dir
sudo ./certbot-auto certonly --standalone -d foobar.com