启用Let's Encrypt一直失败,阿里云的域名,请教一下怎么解决,谢谢

问答中心分类: OneinStack启用Let's Encrypt一直失败,阿里云的域名,请教一下怎么解决,谢谢
shyily 提问 6月 前

AccessKey信息都是对的,也是按照教程格式写的,但是第一步就失败,试了很多次也不行,求指点,谢谢。域名的DNS用的是vip1.alidns.com, vip2.alidns.com Please enter your DNS provider: ali Syntax: export Key1=Value1 ; export Key2=Value1
Please enter your dnsapi parameters: export Ali_Key=abcdefg ; export Ali_Secret=abcdefg [Mon Feb 11 10:14:03 CST 2019] Registering account
[Mon Feb 11 10:14:06 CST 2019] Register account Error: {“type”:”urn:ietf: params:acme:error:malformed”,”detail”:”Invalid Content-Type header on POST. Content-Type must be \”application/jose+json\””,”status”: 415}
[Mon Feb 11 10:14:06 CST 2019] Please add ‘–debug’ or ‘–log’ to check more details.
[Mon Feb 11 10:14:06 CST 2019] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Error: Create Let’s Encrypt SSL Certificate failed!

1 问题
oneinstack 回答 6月 前
export Ali_Key=abcdefg
export Ali_Secret=abcdefg
acme.sh --issue --dns dns_ali -d aa.com -d www.aa.com --debug