xiamo23 发表于 2018-7-21 17:55:49

军哥,请问一下腾讯云域名怎么申请泛域名证书?

我用dnspod试了一下…不行……现在不知道怎么搞了…看了日志,错误原因是无法为域名添加TXT记录……

licess 发表于 2018-7-21 20:37:53

dnspod.cn 的话肯定是支持的,按教程使用api就可以,报错的话按要求提供日志,腾讯云不清楚

xiamo23 发表于 2018-7-22 08:09:41

_main_domain='linone.cn'
_alt_domains='*.linone.cn'
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
DOMAIN_PATH='/usr/local/nginx/conf/ssl/linone.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='linone.cn'
_chk_alt_domains='*.linone.cn'
Le_LocalAddress
d='linone.cn'
Check for domain='linone.cn'
_currentRoot='dns_dp'
d='*.linone.cn'
Check for domain='*.linone.cn'
_currentRoot='dns_dp'
d
_saved_account_key_hash is not changed, skip register account.
Read key length:
_createcsr
Multi domain='DNS:linone.cn,DNS:*.linone.cn'
Getting domain auth token for each domain
d='*.linone.cn'
d
url='https://acme-v02.api.letsencrypt.org/acme/new-order'
payload='{"identifiers": [{"type":"dns","value":"linone.cn"},{"type":"dns","value":"*.linone.cn"}]}'
RSA key
HEAD
_post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
POST
_post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
code='201'
Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/38721490/20299274'
GET
url='https://acme-v02.api.letsencrypt.org/acme/authz/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU'
timeout=
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
ret='0'
GET
url='https://acme-v02.api.letsencrypt.org/acme/authz/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA'
timeout=
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
ret='0'
d='linone.cn'
Getting webroot for domain='linone.cn'
_w='dns_dp'
_currentRoot='dns_dp'
entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501","token":"6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to"'
token='6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to'
uri='https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501'
keyauthorization='6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg'
dvlist='linone.cn#6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg#https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501#dns-01#dns_dp'
d='*.linone.cn'
Getting webroot for domain='*.linone.cn'
_w='dns_dp'
_currentRoot='dns_dp'
entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500","token":"avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws"'
token='avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws'
uri='https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500'
keyauthorization='avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg'
dvlist='*.linone.cn#avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg#https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500#dns-01#dns_dp'
d
vlist='linone.cn#6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg#https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501#dns-01#dns_dp,*.linone.cn#avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg#https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500#dns-01#dns_dp,'
d='linone.cn'
_d_alias
txtdomain='_acme-challenge.linone.cn'
txt='wd0MtMqJaMaPdDj592yJr2qpySK_lk-XWiqjataRjj8'
d_api='/usr/local/acme.sh/dnsapi/dns_dp.sh'
Found domain api file: /usr/local/acme.sh/dnsapi/dns_dp.sh
You don't specify dnspod api key and key id yet.
Please create you key and try again.
Error add txt for domain:_acme-challenge.linone.cn
pid
No need to restore nginx, skip.
_clearupdns
skip dns.
_on_issue_err
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
url='https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501'
payload='{"keyAuthorization": "6aKarzDeALrIARnU5L0CbVC_SikOy5q8V8y3D303_to.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg"}'
POST
_post_url='https://acme-v02.api.letsencrypt.org/acme/challenge/0zyPxGFt8EAfqF63T1la5Z9Mol5rAi4Cfw58Ncy27eA/5828077501'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
code='200'
url='https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500'
payload='{"keyAuthorization": "avm50-wRCpBJzadZnmbVarLGZ7ZshKCEneCFeC_QRws.6KLTppSD_rMTP1LaiRtPU_smHaEiVzOep1gSUE8K5Jg"}'
POST
_post_url='https://acme-v02.api.letsencrypt.org/acme/challenge/CNvhg9znheVrr8l_127hIUoH1VApQLBsnJgJ2yebhTU/5828077500'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
code='200'

xiamo23 发表于 2018-7-22 08:10:39

回复 2# 的帖子

错误日子在3楼!军哥看一下

licess 发表于 2018-7-22 13:47:39

添加是肯定给你明确的提示信息了You don't specify dnspod api key and key id yet.
没按教程export api信息肯定是不行的,建议你先仔细看官网教程

xiamo23 发表于 2018-7-23 09:12:11

回复 5# 的帖子

谢谢军哥,不过昨天已经解决了!不是没有export api而是缺少了依赖   把依赖装了就好了!

billyjeans 发表于 2018-11-12 00:21:41

原帖由 xiamo23 于 2018-7-23 09:12 发表 http://bbs.vpser.net/images/common/back.gif
谢谢军哥,不过昨天已经解决了!不是没有export api而是缺少了依赖   把依赖装了就好了! 遇到同样的问题,检查确认export了DP_Id和DP_Key,但是提示You don't specify dnspod api key and key id yet.
请问你后来是如何解决的?

billyjeans 发表于 2018-11-12 00:29:34

原帖由 billyjeans 于 2018-11-12 00:21 发表 http://bbs.vpser.net/images/common/back.gif
遇到同样的问题,检查确认export了DP_Id和DP_Key,但是提示You don't specify dnspod api key and key id yet.
请问你后来是如何解决的? 搞定了。刚才脑子瓦特了。。。。。
页: [1]
查看完整版本: 军哥,请问一下腾讯云域名怎么申请泛域名证书?