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 Antworten
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
beantwortet vor 6 Monaten
  • 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
EXPERTE
Steve_M
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen