- 积分
- 48
- 威望
-
- 金钱
-
- 注册时间
- 2019-10-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
手动续期命令:"/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
完整日志在附件里。这里截取了一少部分
- [Thu Feb 4 10:33:46 CST 2021] _init api for server: https://acme-v02.api.letsencrypt.org/directory
- [Thu Feb 4 10:33:46 CST 2021] Use default length 2048
- [Thu Feb 4 10:33:46 CST 2021] length='2048'
- [Thu Feb 4 10:33:46 CST 2021] Using config home:/usr/local/acme.sh
- [Thu Feb 4 10:33:46 CST 2021] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
- [Thu Feb 4 10:33:46 CST 2021] Use length 2048
- [Thu Feb 4 10:33:46 CST 2021] Using RSA: 2048
- [Thu Feb 4 10:33:46 CST 2021] Create account key ok.
- [Thu Feb 4 10:33:46 CST 2021] RSA key
- <u>[Thu Feb 4 10:33:46 CST 2021] config file is empty, can not read CA_EAB_KEY_ID
- [Thu Feb 4 10:33:46 CST 2021] config file is empty, can not read CA_EAB_HMAC_KEY
- [Thu Feb 4 10:33:46 CST 2021] config file is empty, can not read CA_EMAIL</u>
- [Thu Feb 4 10:33:46 CST 2021] 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呢?然后还没找到在哪加全局环境
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|