Lets go encrypt ssl 证书

未结帖
0 354
ajian admin_jim 2022-08-02
悬赏:5飞吻


https://manage.sslforfree.com/login

3308488407@qq.com

jimmy123456








宝塔SSL证书无法获取证书的解决办法


普通网友


于 2019-12-11 20:24:42 发布


1395

 收藏

版权

2019年11月开始,陆续发现AMH4.2.1中SSL证书无法正常获取证书了,包括使用命令行渠道也无法获取证书。

尝试生成会有如下提示:


Register account Error: {“type”:“urn:acme:error:unauthorized”,“detail”:“Account creation on ACMEv1 is disabled.

Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555.

See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.”,“status”: 403}

[Fri Nov 15 02:29:17 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details.


原来LET’S ENCRYPT官方在2019年11月将终止V1证书的注册了。


如何判断自己用的是V1还是V2,或是否已升级到V2?

在SSH中执行以下命令

cat /root/.acme.sh/acme.sh | grep VER=

若显示是2.7.3则表示是V1

若是2.8.*或以上则表示是V2


解决办法

在SSH中执行以下命令,完成获取证书的脚本更新即可。

/root/.acme.sh/acme.sh --upgrade

————————————————

版权声明:本文为CSDN博主「普通网友」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/qq_36992028/article/details/103477477









[Let’s Encrypt]Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error



这个这个问题在我使用良心云的香港的时候遇到了,这就很奇怪了,我用的是HK的啊。。。然而还是遇到了,贴一个解决方法,编辑/etc/hosts。

将一下的内容贴入到/etc/hosts里就OK了

140.82.114.4     github.com
185.199.108.153    github.github.io
199.232.69.194   github.global.ssl.fastly.net
199.232.28.133 raw.githubusercontent.com


热忱回答0


最近热帖

近期热议

  1. javascript——prototype与__proto 9
  2. Mysql 中出现的Data truncated for column 3
  3. 在nginx中使用x-sendfile的解决方案 3
  4. 高版本jQuery面插件实现Ajax上传图片 1
  5. Thinkphp Socket.class.php 类的使用 1
  6. 使用ionic3创建第一个App 0
  7. ios-oc html5 0
  8. nginx.conf 0
  9. 基于ionic3.4.0的项目搭建 0
  10. php 缩略图 0