came.sh证书续期失败的问题
手动续期命令:"/usr/local/acme.sh"/acme.sh --cron --home "/usr/local/acme.sh" --force续期失败,提示 Please update your account with an email address first.
然后执行
"/usr/local/acme.sh"/acme.sh --register-account -m 123456@126.com提示注册成功,然后手动续期,还是不行,依然是上面那个提示。
查看日志:/usr/local/acme.sh/acme.sh.log
完整日志在附件里。这里截取了一少部分
_init api for server: https://acme-v02.api.letsencrypt.org/directory
Use default length 2048
length='2048'
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
Use length 2048
Using RSA: 2048
Create account key ok.
RSA key
<u> config file is empty, can not read CA_EAB_KEY_ID
config file is empty, can not read CA_EAB_HMAC_KEY
config file is empty, can not read CA_EMAIL</u>
Registering account: https://acme-v02.api.letsencrypt.org/directory是不是那三个config file is empty导致的呢?
然后我执行
export ACCOUNT_EMAIL="123456@126.com"
然后在手动续期证书就正常了。
请问军哥,这是什么问题导致的呢?
还有个问题,为什么我部分服务器root执行acme.sh提示acme.sh: command not found呢?然后还没找到在哪加全局环境
acme.sh升级了,必须要加上一个邮箱才行
使用完整路径执行 /usr/local/acme.sh/acme.sh
页:
[1]