5

网络安全 | 记录一次acme.sh更新证书 Error add txt for domain:_acme-challenge.tiny...

 1 year ago
source link: https://www.cnblogs.com/tinywan/p/16269251.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

网络安全 | 记录一次acme.sh更新证书 Error add txt for domain:_acme-challenge.tinywan.com

今天打开个人主页,尽然提示证书过期了

1021265-20220514100058730-1544015231.png

证书这么会过期呢!定时脚本出问题了?

手动跑了一把证书更新脚本,更新证书脚本提示以下错误信息

1021265-20220514095841160-1479137994.png

原因是:最近阿里云的 AccessKey ID 和 AccessKey Secret 之前旧的被禁用掉了,不能使用

解决办法就是获取新的阿里云的 AccessKey ID 和 AccessKey Secret 所以需要重新添加以下环境变量

export Ali_Key="LTAI5tRiiiiiiiiiiGY4fUpq"

export Ali_Secret="zH14k0maooooooooooooooZnWO0f"

再次执行脚本,解决问题

1021265-20220514101648285-1565283503.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK