Closed
Description
For https requests, if the ssl_client_cert
is set, then the poolname should include a field (e.g. the digest of cert) to distinguish different clients. Otherwise, there will be a security issue where any users can reuse the connections of other authenticated users.
I'm preparing a fix for this and wondering if you mind introducing the dependency of lua-resty-openssl
into this library. We can address the cdata of X509 and calculate the digest easily by usinglua-resty-openssl
. Otherwise we have to call those OpenSSL APIs ourselves by using ffi.
Metadata
Metadata
Assignees
Labels
No labels