Enable use of a Cassandra proxy using the resty cluster interface#138
Enable use of a Cassandra proxy using the resty cluster interface#138mpenick wants to merge 1 commit intothibaultcha:masterfrom
Conversation
Also, pass client certificates configuration through the cluster interface to the peer options.
|
Hi, Thanks for the efforts, however, have you tested your changes in production? I doubt they will work, since unfortunately OpenResty's cosockets does not support TLS client certificate yet, hence why the limitation in this driver. Client certificates are supported by the LuaSocket fallback implemented by this driver for the Support for mTLS cosockets has recently been proposed by openresty/lua-resty-core#278 + openresty/lua-nginx-module#1602. Given that we are currently working on OpenResty 1.15.8.4 and 1.17.8.1 releases, these PRs aren't going to land in a mainstream release until later this year. Also, in order for me to merge this I'd ask of you for tests and documentation around the new options, should we get there some day. Best, |
|
Thanks so much for the feedback! Yes, we had to force lua sockets instead of |
Also, pass client certificates configuration through the cluster
interface to the peer options.