My web service address is https://api.test.com/test/test.svc (the service uses a public certificate)
ping api.test.com > return 172.18.29.110
curl https://api.test.com > returns without any ssl error
Service and route definitions have been made on Kong
When I test as mykongip:8000/test I get “Eror An invalid response was received from the upstream server.” error.
I see in the nginx logs that it is trying to go to the defined service(https://api.test.com/test/test.svc) over IP and getting SSL_do_handshake error.
2024/01/04 16:56:36 [error] 72562#0: *1245 SSL_do_handshake() failed (SSL: error:0A000152:SSL routines::unsafe legacy renegotiation disabled) while SSL handshaking to upstream, client: 10.10.104.77, server: kong, request: “GET /test6 HTTP/1.1”, upstream: “https://172.18.29.110:443/test/test.svc”, host: “10.10.104.57:8000”, request_id: “2fa6fe0624363e1832d78f361a1f3d16”
I also entered the following parameters in /etc/kong/kong.conf for this error, but no solution. What am I missing?
nginx_proxy_proxy_ssl_server_name = on
nginx_proxy_proxy_ssl_session_reuse = off