failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) 错误解决方法

上面是查看nginx 错误日志时发现在的

原nginx.conf配置项如下

    server {
        listen 443;
        server_name shopmall.xds1668.com;
        root /data/www/shopmall/web;
        include common.conf;
        ssl on;
        ssl_certificate /usr/local/nginx/conf/cert/shopmall.xds1668.com.crt;
        ssl_certificate_key /usr/local/nginx/conf/cert/shopmall.xds1668.com.key;
        ssl_session_timeout 5m;
        ssl_verify_client off;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
}

修改后配置项如下(屏蔽那三项就可以了)

    server {
        listen 443;
        server_name shopmall.xds1668.com;
        root /data/www/shopmall/web;
        include common.conf;
        ssl on;
        ssl_certificate /usr/local/nginx/conf/cert/shopmall.xds1668.com.crt;
        ssl_certificate_key /usr/local/nginx/conf/cert/shopmall.xds1668.com.key;
        ssl_session_timeout 5m;
        ssl_verify_client off;
#        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
#        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#        ssl_prefer_server_ciphers on;
    }

 

你可能感兴趣的:(nginx)