<p>Tried creating a Kubernetes endpoints service to invoke resource hosted outside the cluster via static IP's over HTTPS protocol.
Below is the endpoint code</p>
<pre><code>kind: Service
apiVersion: v1
metadata:
  name: serviceRequest
spec:
  ports:
    - port: 8081
      targetPort: 8094      
      
---
kind: Endpoints
apiVersion: v1
metadata:
  name: serviceRequest
subsets:
  - addresses:
      - ip: XX.XX.XX.XX // **external IP which is accessible as https://XX.XX.XX.XX:8094**
    ports:
      - port: 8094
</code></pre>
<p>But the above configuration is giving 400 Bad Request with message as &quot;This combination of host and port requires TLS.&quot;</p>
<p>Same is working for http not for https exposed &quot;ip&quot;.Could someone please guide how to achieve this.</p>
<p>##Update1
This is how the flow is configured.
<a href="https://i.stack.imgur.com/PQkYT.png" rel="nofollow noreferrer">Ingress-&gt;service-&gt;endpoints</a></p>

pri
<p>This is the error message your get when calling a <code>https</code> endpoint with <code>http</code>. Are you sure that whoever is calling your service, is calling it with <em>https://</em> at the beginning?</p>
