微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ClientError:<Response >,DeserializationError'以下字段是required:detail',

我正在为两个站点创build自己的SSL证书,使用certbot和letencrypt 。

我在Ubuntu 16.0.4 LTS上运行Nginx版本:Nginx / 1.10.0

我运行以下命令:

me@yourBox:~$ sudo letsencrypt certonly --webroot -w /path/to/www/foo -d foo.com -d www.foo.com -w /path/to/www/foobar -d foobar.com -d www.foobar.com

input我的电子邮件地址后,我收到以下错误消息:

Nginx的proxy_pass使certbot不起作用

Certbot不创build极致挑战文件

Certbot /.well-kNown/acme-challenge

Nginxconfiguration,文件夹权限和让我们encryption

在新的Ubuntu 16.04服务器上使用SSL脚本编写新的Nginx实例的正确方法是什么?

An unexpected error occurred: `ClientError: (<Response [500]>,DeserializationError('The following field are required: detail',)) Please see the logfiles in /var/log/letsencrypt for more details.`

这里是/var/log/letsencrypt/letsencrypt.log的内容

2016-10-31 08:19:40,090:DEBUG:letsencrypt.cli:Root logging level set at 30 2016-10-31 08:19:40,092:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2016-10-31 08:19:40,092:DEBUG:letsencrypt.cli:letsencrypt version: 0.4.1 2016-10-31 08:19:40,092:DEBUG:letsencrypt.cli:Arguments: ['--webroot','-w','/path/to/www/foo','-d','foo.com','www.foo.com','/path/to/www/foobar','foobar.com','www.foobar.com'] 2016-10-31 08:19:40,093:DEBUG:letsencrypt.cli:discovered plugins: PluginsRegistry(PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone) 2016-10-31 08:19:40,098:DEBUG:letsencrypt.cli:Requested authenticator webroot and installer None 2016-10-31 08:19:40,099:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foo/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foo/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foobar/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.display.ops:Single candidate plugin: * webroot Description: Webroot Authenticator Interfaces: IAuthenticator,IPlugin Entry point: webroot = letsencrypt.plugins.webroot:Authenticator Initialized: <letsencrypt.plugins.webroot.Authenticator object at 0x7ff6a5901fd0> Prep: True 2016-10-31 08:19:40,101:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt.plugins.webroot.Authenticator object at 0x7ff6a5901fd0> and installer None 2016-10-31 08:19:51,133:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (),kwargs: {} 2016-10-31 08:19:51,138:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org 2016-10-31 08:19:51,227:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 280 @

我没有findlogging的消息在解释如何解决这个问题非常有帮助。 有没有人真的明白发生了什么 – 更重要的是,如何解决这个问题?

这个响应[500]意味着让我们的加密服务器对500个内部服务器错误的API请求作出响应。 这是由于Let's Encrypt的后端方面的错误。 等待片刻,重播请求,最终成功。

您可以在http://letsencrypt.status.io/查看Let's Encrypt服务状态。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐