设置对远程服务器执行客户端证书身份验证的代理
我正在建立一个基础设施,其中有一个 nginx Web 服务器,配置为需要客户端证书才能访问资源。
然而,客户端本身并不支持客户端证书(它是 pip,我们无法修改它来支持证书[尽管考虑到它是 Python,这很容易,但仍然])。
基本上,我的想法是在每台机器上设置一个代理,可以对远程服务器进行证书身份验证……但我真的不知道这有多容易,或者我将如何去做。理想情况下,代理应尽可能轻量。
有什么想法吗? :)
I am setting up an infrastructure where I have an nginx web server configured to require a client certificate for access to a resource.
However, the clients do not themselves have support for client certificates (it's pip, and we can't modify it to support the certificates [even though this is easy given it's Python, but still]).
Basically, the idea I had would be to setup a proxy on each machine that can do the certificate authentication to the remote server… but I really don't know how easy this is, or how I would go about it. Ideally, the proxy would be as lightweight as possible.
Any ideas? :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
考虑使用 stunnel 作为您的代理,它是一个高度灵活的 SSL 代理,可以进行客户端证书身份验证。
Consider using stunnel as your proxy, it's a highly flexible SSL proxy, which can do client certificate authentication.