Link to home
Start Free TrialLog in
Avatar of sysautomation
sysautomation

asked on

SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small

Hello

I am running Nginx version 1.10.2 on Centos 6.9 for a long time. Nginx serves as a reverse proxy to Glassfish 3 running some application.

Today when I rebooted my machine and I opened the URL to Nginx I got Bad Gateway. The error logs show following:

2017/10/01 05:28:48 [crit] 11408#0: *5 SSL_do_handshake() failed (SSL: error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small) while SSL handshaking to upstream, client: 123.456.789.123, server: mydomain.net, request: "GET /apex/f?p=123 HTTP/1.1", upstream: "https://127.0.0.1:9191/apex/f?p=123", host: "www.mydomain.net", referrer: "http://www.mydomain.net/"

Open in new window


I am able to access Glassfish with https://Hostname:9191/apex ... without a problem.

I am not sure what to do to fix this issue.

OpenSSL version is following:

-bash-4.1# rpm -qa openssl*
openssl098e-0.9.8e-20.el6.centos.1.x86_64
openssl-devel-1.0.1e-57.el6.x86_64
openssl-1.0.1e-57.el6.x86_64

Open in new window


I will be really thankful if someone can help.
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial