DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

NGINX errors. SSL routines tlsv1 alert protocol version. SSL alert number 70

| 14:03:26 07.06.2022

Found Gateway 502 error on an AlmaLinux 8 server with nginx+apache. Logs were full of lines of the following kind:

[error] 1387293#0: *28 SSL_do_handshake() failed (SSL: error:0A00042E:SSL routines::tlsv1 alert protocol version:SSL alert number 70) while SSL handshaking to upstream, client: 2.3.4.5, server: web.example.com, request: "GET / HTTP/2.0", upstream: "https://1.2.3.4:8081/", host: "web.example.com"

Possible solution

Fix for Directadmin servers

  • update file: /etc/nginx/nginx-defaults.conf

Servers without DirectAdmin might have other files which you can update.

Anyway you need to add the following lines in Nginx configuration:

proxy_ssl_protocols TLSv1.2 TLSv1.3;
proxy_ssl_ciphers DEFAULT;

and restart the webserver.

I hope it helps.
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition