Openssl update
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
openssl version -a
sudo cp -R /usr/lib/ssl /usr/lib/ssl-1.1.1g
wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz
wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz.sha256
echo "$(cat openssl-1.1.1h.tar.gz.sha256) openssl-1.1.1h.tar.gz" | sha256sum --check
tar -zxf openssl-1.1.1n.tar.gz
cd openssl-1.1.1n
./config
sudo apt install make gcc
make
make test
sudo make install
sudo mv /usr/bin/openssl /usr/bin/openssl-1.1.1f
sudo ln -s /usr/local/bin/openssl /usr/bin/openssl
sudo ldconfig
Edit openssl.conf file:
sudo nano /etc/ssl/openssl.cnf Add this line at the top:
openssl_conf = openssl_init And add these lines at the end:
[openssl_init] ssl_conf = ssl_sect
[ssl_sect] system_default = system_default_sect
[system_default_sect] CipherString = DEFAULT@SECLEVEL=1
- /etc/ssl/openssl.cnf:/etc/ssl/openssl.cnf