a08381 发表于 2019-4-15 14:19:29

证书生成失败

_main_domain='www.dead-war.cn'
_alt_domains='dead-war.cn,*.dead-war.cn'
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
DOMAIN_PATH='/usr/local/nginx/conf/ssl/www.dead-war.cn'
Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
_init api for server: https://acme-v02.api.letsencrypt.org/directory
GET
url='https://acme-v02.api.letsencrypt.org/directory'
timeout=
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
ret='0'
ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
ACME_NEW_AUTHZ
ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
ACME_VERSION='2'
Le_NextRenewTime
_on_before_issue
_chk_main_domain='www.dead-war.cn'
_chk_alt_domains='dead-war.cn,*.dead-war.cn'
Le_LocalAddress
d='www.dead-war.cn'
Check for domain='www.dead-war.cn'
_currentRoot='dns_ali'
d='dead-war.cn'
Check for domain='dead-war.cn'
_currentRoot='dns_ali'
d='*.dead-war.cn'
Check for domain='*.dead-war.cn'
_currentRoot='dns_ali'
d
config file is empty, can not read CA_KEY_HASH
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
_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
Only RSA or EC key is supported. keyfile=/usr/local/acme.sh/ca/acme-v02.api.letsencrypt.org/account.key
_on_issue_err
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
https://paste.ubuntu.com/p/V3phHv2Dbb/

licess 发表于 2019-4-15 19:53:58

acme.sh是今天装的还是之前装的?
/usr/local/acme.sh/acme.sh --upgrade 升级后再试一下看看

a08381 发表于 2019-4-16 12:09:27

licess 发表于 2019-4-15 19:53
acme.sh是今天装的还是之前装的?
/usr/local/acme.sh/acme.sh --upgrade 升级后再试一下看看 ...
还是一样。。。

使用的是aws的vps,centos7系统

licess 发表于 2019-4-16 20:21:04

a08381 发表于 2019-4-16 12:09
还是一样。。。

使用的是aws的vps,centos7系统

那就不大清除什么原因了,如果没有设置其他证书的话 /usr/local/acme.sh/acme.sh --uninstall 卸载后再重新添加试试
页: [1]
查看完整版本: 证书生成失败