[SSL] Initial Connection takes very long time

Neddy nginx-forum at nginx.us
Mon Dec 9 08:51:47 UTC 2013


Hi, 
I'm using nginx 1.5.7 for SSL termination for my websites (no encryption
betwwen nginx-origin servers).

This is my test result:
http://www.webpagetest.org/result/131209_M2_BYF/1/details/ you can see it
took more than 9 seconds for initiation

My SSL config part in nginx.conf: 

ssl_session_cache   shared:TLSSL:10m;
ssl_session_timeout 10m;
ssl_protocols   SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers
ECDHE-ECDSA-RC4-SHA:ECDHE-ECDSA-AES128-SHA256:HIGH:!kEDH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM;
ssl_prefer_server_ciphers on;
ssl_certificate server.crt;
ssl_certificate_key server.key;

I know it have to trade on high encryption, but 9 seconds is too slow to
init a new connection. I highly appreciate your comments to help me to
reduce that waiting time. Thanks.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245344,245344#msg-245344



More information about the nginx mailing list