ApplePay mTLS long response time

I'm calling the endpoint https://apple-pay-gateway-cert.apple.com/paymentservices with mTLS and it's taking over 15 seconds to complete the request. This is happening only when deployed through AWS.

I have tried a dummy dotnet and node lambda with the same result.

Wondering if anyone had the same issue.

Also stack overflow post explaining the code in more depth - https://stackoverflow.com/questions/79755891/mtls-http-call-taking-over-15-seconds

ApplePay mTLS long response time
 
 
Q