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
已提問 1 年前檢視次數 232 次
1 個回答
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
已回答 1 年前
  • 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.

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

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

回答問題指南