We have an internal load balancer serving nginx in AWS which is accessible from our VPN. The load balancer is using an amazon issued certificate from ACM. We are using an external DNS service and we configured the cname of "test.sample.dev" to point to the internal load balancer DNS name in AWS.
We are able to access the internal load balancer via "https://internal-sample.us-east-1.elb.amazonaws.com". But when we try to access "https://test.sample.dev", we are getting a "Secure Connection Failed Error. How can we fix this?