有人试过在阿里云上配置 letsencrypt 证书么?

2016-12-27 19:31:49 +08:00
 chenxsan

免费试用了一个阿里云国际版,新加坡节点,安装 CentOS 7 。

ip 能 ping 到, DNS 域名解析也正常。

用 certbot 安装证书:

certbot certonly --standalone --email example@gmail.com -d example.com

一直报这个错误:

Failed authorization procedure. example.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xx.xx.xx.xx:443 for TLS-SNI-01 challenge

Linode 上的新开的机子,同样的操作,却是能成功。

找了一遍资料,基本没有。

哪位有成功配置过的么?

6519 次点击
所在节点    SSL
4 条回复
chenxsan
2016-12-28 10:28:38 +08:00
有意思的是,我把系统换成 Ubuntu 14 ,再跑就成功生成了证书。
chenxsan
2016-12-28 10:48:19 +08:00
最后发现是 CentOS 7 下 firewalld 默认开启导致的,粗暴地将它禁用掉就解决了。
aksoft
2017-01-11 11:43:07 +08:00
centos 6 没事。。
Wichna
2017-09-28 11:09:26 +08:00
应该是你的 443 端口没有开放,如果是 ufw 的话,直接运行 sudo ufw allow https 就行

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/330567

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX