Quantcast
Viewing all articles
Browse latest Browse all 1515

Nginx SSL slow initial connection time

Issue:Image may be NSFW.
Clik here to view.
enter image description here

This is definitely not normal. The initial connection time is crazy. I suppose it's an handshake problem.

Tried to play around with protocols and ciphers.Nothing.

server {        listen 443 ssl http2;        ssl_certificate /home/ec2-user/ssl/bundle.crt;        ssl_certificate_key /home/ec2-user/ssl/keyhere;       # keepalive_timeout 70;        ssl_protocols  TLSv1.2;        ssl_prefer_server_ciphers on;      #  ssl_ciphers aNULL:eNULL:MD5:LOW:HIGH;      #  ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;       ssl_ciphers 'EECDH+AESGCM:AES256+EECDH:AES256+EDH';        ssl_session_cache shared:SSL:5m;        location / {                root /usr/share/nginx/dist;                index index.html;                try_files $uri $uri/ /index.html;        }}

The http loads in 2/3 sec.

the server ssl protocol/cipher

SSL-Session:    Protocol  : TLSv1.2    Cipher    : ECDHE-RSA-AES256-GCM-SHA384

I am open to suggestions :)


Viewing all articles
Browse latest Browse all 1515

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>