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
posta un anno fa233 visualizzazioni
1 Risposta
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
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande