开发者

Setting up a proxy that performs client certificate authentication to a remote server

开发者 https://www.devze.com 2023-03-22 14:29 出处:网络
I am setting up an infrastructure where I have an nginx web server configured to require a client certificate for access to a resource.

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 re开发者_如何学Pythonally 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? :)


Consider using stunnel as your proxy, it's a highly flexible SSL proxy, which can do client certificate authentication.

0

精彩评论

暂无评论...
验证码 换一张
取 消