Nginx ClientError:(<;Response[500]>;,反序列化错误(&x27;以下字段为必填字段:detail&&x27;,))

Nginx ClientError:(<;Response[500]>;,反序列化错误(&x27;以下字段为必填字段:detail&&x27;,)),nginx,ssl-certificate,lets-encrypt,certbot,Nginx,Ssl Certificate,Lets Encrypt,Certbot,我正在使用为两个站点创建自己的SSL证书 我正在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 输入电子邮件地址后,我收到以下错误消息: An

我正在使用为两个站点创建自己的SSL证书

我正在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
输入电子邮件地址后,我收到以下错误消息:

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.`
发生意外错误:`ClientError:(,
反序列化错误('需要以下字段:详细信息',))
有关更多详细信息,请参阅/var/log/letsencrypt中的日志文件`
以下是/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', '-d', 'www.foo.com', '-w', '/path/to/www/foobar', '-d', 'foobar.com', '-d', '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.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
@                  
2016-10-31 08:19:40090:DEBUG:letsencrypt.cli:根日志记录级别设置为30
2016-10-31 08:19:40092:INFO:letsencrypt.cli:将调试日志保存到/var/log/letsencrypt/letsencrypt.log
2016-10-31 08:19:40092:调试:letsencrypt.cli:letsencrypt版本:0.4.1
2016-10-31 08:19:40092:DEBUG:letsencrypt.cli:参数:['--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']
2016-10-31 08:19:40093:DEBUG:letsencrypt.cli:发现的插件:PluginsRegistry(PlugentryPoint#webroot,PlugentryPoint#null,PlugentryPoint#手动,PlugentryPoint#独立)
2016-10-31 08:19:40098:调试:letsencrypt.cli:请求的验证器webroot和安装程序无
2016-10-31 08:19:40099:调试:letsencrypt.plugins.webroot:在/path/to/www/foo/.well-known/acme challenge创建根挑战验证目录
2016-10-31 08:19:40100:DEBUG:letsencrypt.plugins.webroot:创建根挑战验证目录,地址为/path/to/www/foo/。著名的/acme挑战
2016-10-31 08:19:40100:DEBUG:letsencrypt.plugins.webroot:创建根挑战验证目录,地址为/path/to/www/foobar/。著名的/acme挑战
2016-10-31 08:19:40100:DEBUG:letsencrypt.plugins.webroot:创建根挑战验证目录,地址为/path/to/www/foobar/。著名的/acme挑战
2016-10-31 08:19:40100:调试:letsencrypt.display.ops:单个候选插件:*webroot
描述:Webroot身份验证器
接口:IAuthenticator、IPlugin
入口点:webroot=letsencrypt.plugins.webroot:Authenticator
初始化:
准备:对
2016-10-31 08:19:40101:调试:letsencrypt.cli:所选验证器和安装程序无
2016-10-31 08:19:51133:调试:根用户:向发送GET请求https://acme-v01.api.letsencrypt.org/directory. args:(),kwargs:{}
2016-10-31 08:19:51138:信息:requests.packages.urllib3.connectionpool:启动新的HTTPS连接(1):acme-v01.api.letsencrypt.org
2016-10-31 08:19:51227:DEBUG:requests.packages.urllib3.connectionpool:“GET/directory HTTP/1.1”200 280
@                  

我觉得记录的消息对解释如何解决问题没有多大帮助。是否有人真正了解发生了什么?更重要的是,如何解决这个问题?

这个响应[500]意味着Let's Encrypt服务器响应API请求时出现500内部服务器错误。这是由于Let's Encrypt的后端出现错误造成的。只需等待片刻并重播请求,最终它就会成功


您可以在查看“让我们加密”服务状态。

他们已经知道这一点=>