Pages

Wednesday, 23 January 2019

获取/更新Let's encrypt证书的xdtianyu script救了我的急

最近,我在linux vps上,运行:
./certbot-auto --no-bootstrap certonly -d mydomain.com --standalone
遇错:
Error: couldn’t get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt:
Inconsistency detected by ld.so: dl-open.c: 689: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT’ failed!
几经google,仍然无法解决问题。
(相关帖子:https://briteming.blogspot.com/2017/06/lets-encryptsslcertbot.html,以前我根据此文运行./certbot-auto --no-bootstrap certonly -d mydomain.com --standalone是不会遇错的。)

然后想用acme.sh的方法来更新Let's encrypt证书,
(详见https://briteming.blogspot.com/2018/10/acmeshletsencryptssl.html)
运行./acme.sh --issue -d mydomain.com --standalone
显示:
[Thu Jan 24 00:38:24 CST 2019] Please install socat tools first.
[Thu Jan 24 00:38:24 CST 2019] _on_before_issue.
于是我尝试安装socat,可惜在我的vps上,就是无法成功安装socat,无论用编译还是用包管理器的方式。唉,真是无奈。后来想起还有其他的获取/更新Let's encrypt证书的方式,比如xdtianyu script方法
(详见https://briteming.blogspot.com/2017/08/lets-encrypt-shell-script.html)

所以,如果你遇到了我上面那些错误,我强烈建议你使用xdtianyu script方法来获取/更新Let's encrypt的证书。

相关帖子:https://briteming.blogspot.com/2017/08/lets-encrypt-shell-script.html

No comments:

Post a Comment