https traffic is not coming. through while http works

0

I am trying o setup a webserver on an EC2 instance and then I have added the domain via route 53 and also cerated a app load balancer and added lsiteners via http and https (where I used certificate for that domain via ACM) - while http traffic is coming through, httsp traffic is not coming through and when I do this on the command line it gives me this error suggesting some security rule not alowing me inside

openssl s_client -connect api.somedomain.com:443 4638666240:error:0200203D:system library:connect:Connection refused:crypto/bio/b_sock2.c:110: 4638666240:error:2008A067:BIO routines:BIO_connect:connect error:crypto/bio/b_sock2.c:111: connect:errno=61

and on the browser when I access as https://api.somedomain.com, I get the error as (on chrome) ERR_CONNECTION_REFUSED

the ceritificate i have taken only with api.somedomain.com and I have sent rules only to this specific domain oly --> api.somedomain.com any idea or help on what rule is preventing the https traffic to flow? Thanks in advance

2 個答案
0

Yes. It is. Also for the load balancer I have done two listeners. One is http and other is https with the certificate attached.

Manju
已回答 6 個月前
  • api.somedomain.com will be a record in Route 53 whose value is the DNS name of the load balancer. What happens when you run that openssl command against the load balancer's name?

0

Is TCP port 443 open in the security group that is associated with the loadbalancer?

profile picture
專家
Steve_M
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南