linux – nginx proxy ssl clr“400 bad request”错误
发布时间:2020-12-13 16:50:18 所属栏目:Linux 来源:网络整理
导读:这是情况 – 有一个透明的nginx代理处理SSL证书,并且在我们决定添加撤销列表管理之前做得很好,出于安全原因需要.这是“ssl_crl”行开始播放并搞砸所有内容的时候. server { listen 80; rewrite ^ https://$host$request_uri permanent;}server { listen 443
这是情况 – 有一个透明的nginx代理处理SSL证书,并且在我们决定添加撤销列表管理之前做得很好,出于安全原因需要.这是“ssl_crl”行开始播放并搞砸所有内容的时候.
server { listen 80; rewrite ^ https://$host$request_uri permanent; } server { listen 443 ssl; server_name example.com; ssl on; ssl_certificate /home/netadmin/keys/tid.crt; ssl_certificate_key /home/netadmin/keys/tid.key; ssl_session_cache shared:SSL:10m; ssl_client_certificate /home/netadmin/keys/personchain.pem; ssl_crl /home/netadmin/keys/personlist.crl; ssl_verify_client on; ssl_verify_depth 2; error_log /var/log/nginx/debug.log debug; location / { proxy_pass http://111.111.111.111:80; } 每当用户尝试使用SSL进行身份验证时,服务器将始终提供“400 Bad Request”错误. openssl crl -CAfile personchain.pem -inform PEM -in personlist.crl -lastupdate -nextupdate -noout verify OK lastUpdate=Apr 22 14:59:18 2013 GMT nextUpdate=Apr 29 14:59:18 2013 GMT CRL链接正在运行,没有什么看起来不对,这是一段错误日志. 2013/04/23 15:47:42 [info] 3612#0: *1 client SSL certificate verify error: (3:unable to get certificate CRL) while reading client request headers,client: 192.168.122.1,server: example.com,request: "GET / HTTP/1.1",host: "example.com" 这基本上是唯一的错误,正如我之前所说,相同的证书可以与Apache一起使用. 解决方法
答案如下:
https://serverfault.com/a/676498/277052:
如果您有多个CA,则必须连接所有CRL.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Linux运维是什么?linux运维的基础知识
- Linux命令总结--uniq命令
- 测试 – Selenium在Linux上没有使用Firefox 3.x.
- 【Linux】war包的解压与压缩
- linux – 如何防止rsync(使用ssh作为远程shell)面对密码提示
- linux – mv包含shell脚本空格的文件
- linux – 我可以在使用qsub提交后删除shell脚本而不影响作
- linux – Postfix – 如何在队列中重试邮件传递?
- linux – 如何在Docker中使用容器的内部ip地址作为环境变量
- 004-linux命令-搜索命令find、locate、whereis、which、typ