How to reduce SSL handshake time?

0

Hi, I have an HTTPS server on EC2 and I want to reduce the SSL time of this website. The SSL certificate has been installed on Tomcat 7.

When i monitor on chrome network tab i see that ssl handshake is taking long time. How can i reduce SSL handshake time?

Enter image description here

已提問 1 年前檢視次數 244 次
2 個答案
0

Hi There

Are you monitoring the performance of the EC2 instance? Are you seeing increased load or resource exhaustion? One thing you can try is placing an Application Load Balancer in front of your EC2 instance and offloading SSL. This way your EC2 instance does not need the extra resources for encryption, its all handled by the load balancer.

Additional Resources:

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancer-getting-started.html

profile pictureAWS
專家
Matt-B
已回答 1 年前
  • Hello, Thanks for answer but I got an error message on chrome " ... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' "

0

Hi,

I agree with the previous suggestion that using an Application Load Balancer may speed up your SSL handshake (among other benefits).

I will also suggest that https://aws.amazon.com/cloudfront/getting-started/EC2/ will likely speed up your SSL handshake. This is because the client's TLS is terminated at an edge location geographically closer to the client. It may also speed up other aspects of your site/portal/service because the communication from the edge location to your EC2 instance will take place over the Amazon network rather than the general Internet.

Also, I see documentation that TLS v1.3 has a faster handshake than TLS v1.2, so perhaps make sure your site supports TLS v1.3.

Regards, Ryan

profile pictureAWS
Ryan_M
已回答 1 年前

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

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

回答問題指南