It worked normally in alb, but when connecting to cloudfront, ssl:handshake_failure occurred. What is the reason?

0

After connecting the domain name to alb and inserting the certificate into alb, payment-related services were provided.

During service, cdn caching was required, so a situation occurred where cloudfront had to be connected to the front end.

I connected cloudfront in front of alb, put the same certificate, matched the tls version, and changed the domain name to confirm normal operation.

However, when connecting to an external payment site An error such as exception:javax.net.ssl.sslhandshakeexception: received fatal alert: handshake_failure has occurred.

(Connected normally with alb.)

All settings are the same, but I wonder what causes it to work in alb but not in cloudfront.

joker
asked a year ago225 views
1 Answer
0

That error could be CloudFront not being able to connect to the origin, in this case the alb. Can you check your origin configuration in CloudFront, and make sure that it is correct? You should be able to correct directly to the alb to rule that out.

profile pictureAWS
answered a year ago
  • Since cloudfront cannot connect to another origin, another listener is connecting to the same cloudfront through the same alb and is serving. Cloudfront's origin configuration and operation are working normally, so the example.com domain is running. Again, the other domain, pay.example.com, is working properly, but the "error exception:javax.net.ssl.sslhandshakeexception: received fatal alert: handshake_failure" is occurring in communication with the external domain.

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