Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大哥求指路,生成的.crt文件是空的 #49

Open
tttlkkkl opened this issue Sep 4, 2017 · 5 comments
Open

大哥求指路,生成的.crt文件是空的 #49

tttlkkkl opened this issue Sep 4, 2017 · 5 comments

Comments

@tttlkkkl
Copy link

tttlkkkl commented Sep 4, 2017

配好nginx后报错:
nginx: [emerg] PEM_read_bio_X509_AUX("/ca/lihuasheng.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
nginx: configuration file /etc/nginx/nginx.conf test failed

@xdtianyu
Copy link
Owner

xdtianyu commented Sep 4, 2017

/ca/ 这个目录存在吗?或者是不是没有写入的权限?

@tttlkkkl
Copy link
Author

tttlkkkl commented Sep 4, 2017

有存在的,全程root操作,/ca/lihuasheng.crt这个文件也建立起来了但是是空的。我怀疑我操作太频繁被禁止颁发证书了,用脚本之前倒腾caddy了一晚上。明天再试……谢谢大哥。

@tttlkkkl
Copy link
Author

tttlkkkl commented Sep 4, 2017

对了,我python版本是Python 2.7.5不会跟这个有关系吧

@xdtianyu
Copy link
Owner

xdtianyu commented Sep 4, 2017

应该没关系,2.7.+就可以了

@tttlkkkl
Copy link
Author

tttlkkkl commented Sep 5, 2017

现在进一步了,报错如下:
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:acme:error:connection",
"detail": "DNS problem: SERVFAIL looking up A for lihuasheng.cn",
"status": 400
},
"uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/bDednsgB_np9iMMcCeZrDreCbEC7kNz7HvwXl5nRRNI/1915060345",
"token": "TLeLtZSm8OoUlHyyevbJBCQBFfWMsPoNwgKj3Vj6pCY",
"keyAuthorization": "TLeLtZSm8OoUlHyyevbJBCQBFfWMsPoNwgKj3Vj6pCY.TQom5iWjlU5jeupOSYuepjpirS3NlVSyBOy_V5byivQ",
"validationRecord": [
{
"url": "http://lihuasheng.cn/.well-known/acme-challenge/TLeLtZSm8OoUlHyyevbJBCQBFfWMsPoNwgKj3Vj6pCY",
"hostname": "lihuasheng.cn",
"port": "80",
"addressesResolved": [],
"addressUsed": "",
"addressesTried": []
}
]
}

这个是说他找不到我这个域名?我阿里云的服务器,域名是花生壳解析的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants