Nginx proxy for an endpoint that redirect automatically to another path

2020-11-23 Thread meniem
I'm trying to setup an Nginx proxy that redirect all requests from provider.domain.com to proxy.appname.com/provider (where proxy.appname.com is the server_name in nginx server) The configuration of server and location blocks are fine, but the issue is that the provider.domain.com is automatically

Re: SSL error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:SSL alert

2020-11-09 Thread meniem
Thanks Maxim for your feedback. Yeah, I believe it's an issue with the intermediate certificates. So, can you please let me know how can I obtain this intermediate certificates so that I can append it to the certificate itself. I can't also change this from the upstream server; as we are getting

Re: SSL error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:SSL alert

2020-11-06 Thread meniem
Thanks Sergey for your quick reply. I have checked the debug logs for the SNI (upstream SSL server name), and it seems to be correct.I also used the "proxy_ssl_name" directive that set to the proxied_server_name. Below is the debug output when I hit the endpoint: 2020/11/06 09:14:36 [debug] 30370

SSL error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:SSL alert

2020-11-05 Thread meniem
I'm trying to setup Nginx reserve proxy which redirect to a specific host that requires certificate for proper functionality. But I get this error when I hit the endpoint from the browser: 2020/11/05 19:55:21 [error] 6334#6334: *111317 SSL_do_handshake() failed (SSL: error:14094418:SSL r