Getting certification error while accessing aws service link

0

Hi, I am getting an error while invoking aws service with below url. I created ACM certificate and associated it to load balancer but getting certificate error. Below is snippet of javascript

socketUrl: "https://oxyjo-Publi-Z894ZOA6SW05-1495114743.ap-south-1.elb.amazonaws.com", socketPath: "/socket.io/",

error is below net::ERR_CERT_COMMON_NAME_INVALID

1 Answer
0
Accepted Answer

Your cert would be for the domain for which you requested it; the URL you're trying to access is the URL for the load balancer; which wouldn't be what you requested for the cert. Do you have a Route53 record that points at your load balancer? If so, then use the URL that you've set up. If not, then create a Route53 record that points at your load balancer.

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions