-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tlshandshake not support #159
Comments
Can you describe it in more detail? I don't know what you are trying to say. In fact, we added the tlshandshake patch to apisix-base. see: https://github.com/api7/apisix-nginx-module/blob/main/patch/README.md |
Hi @tzssangglass the underlying socket does not provide the tlshandshake function and thus I added a debug log to show this (
and when testing it:
This hurts in my case since this way the provided client certificate details (ssl_cert_path,ssl_key_path) get ignored silently and the etcd connect fails with Is there a way to get client cert based authentication vs etcd to work with a stock openresty?
|
In fact, this is already implemented in APISIX. ref: https://github.com/apache/apisix/pull/7540/files#diff-50936d6780259bf539f3e60ae8008e586e5ec0185ae2a1997133f07585d900af This requires do patch to |
Hi @tzssangglass I manually applied the referenced patch directly to a dev openresty. Now when I try to start openresty I get this:
I think the patch version and the openresty version do match - right?
Is there something obvious that I might have missed? |
try: https://github.com/api7/apisix-nginx-module/blob/main/patch/1.21.4/ngx_lua-tlshandshake.patch, maybe this patch needs to be added |
The src/ngx_http_lua_socket_tcp.c file was not found in my openresty directory,my version is openresty/1.21.4.2.How do I apply this patch? |
ngx.socket.tcp() dose not has method tlshandshake()
The text was updated successfully, but these errors were encountered: