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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠