I have few services running in multiple namesapces.
My deployment is as follows.
Ingress -> Service(ClusterIP) -> Pods
My application is running as HTTPS due to some restrictions and ingress also running as HTTPS. I have different certificates in both the places.
Trying to find different ways of communicating b/w services.
If both the services are running on the same namesapce,
https://<INGRESS_NAME>.<NAMESPACE>.ing.lb.<CLUSTER_NAME>.XYZ.com/
https://<SVC_NAME>.<NAMESPACE>.svc.int.<CLUSTER_NAME>.XYZ.com/
Is there any other way of connecting?
Also, My application is running as HTTPS and Ingress is also with HTTPS.
When i connect using https://:, getting the cert error.
Caused by: javax.net.ssl.SSLPeerUnverifiedException: Host name '' does not match the certificate subject provided by the peer.
Do i need to include all these names( like URL 2, URL 3, URL 4) in the cert?
Thanks