I have a problem with my nginx on Ubuntu 14.04 LTS. From time to time I get a critical error:
2015/01/18 12:59:44 [crit] 1065#0: *28289 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL handshaking, client: 10.0.2.2, server: 0.0.0.0:443
I checked the version of my OpenSSL:
root@www :~
I searched for more information about this and found that this could be a problem with the old version of OpenSSL. So I tried to compile the latest version:
wget https://www.openssl.org/source/openssl-1.0.1l.tar.gz && tar xzf && cd openssl-1.0.1l ./config && make && make install
I also replaced the old OpenSSL binary with a new one using a symlink:
ln -sf /usr/local/ssl/bin/openssl `which openssl`
After that I have:
root@www :~
But I have an old version in nginx:
root@www :~
I could not find any other new libssl in Ubuntu after updating OpenSSL. How to upgrade libssl so that nginx can use the latest version?
PS1 Perhaps the critical error issue is not related to the OpenSSL version.
PS2. I think this critical error can affect my entire virtual machine. I also have a problem with the "occasionally" crashing VM.
I have tried so many things and now I am hopeless. Stackoverflow, please help!
source share