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 réponses
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
répondu il y a 6 mois
  • 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
EXPERT
Steve_M
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions