zabbix 6.0 (Ubuntu 20.04) reports an error when using https to monitor the server hardware (redfish protocol), Cannot perform request: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small.
I am using curl to test and also report the error
curl: (35) error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
After checking the resource online, it is because openssl disables the low security encryption method. Just change the openssl parameters, restart the zabbix related services or reboot the system after the change.
Solution:
Edit the 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
Restart the server, it will be OK!
Read More:
- OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failur
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- [Solved] Git Clone Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
- [Solved] pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- Python Importerror: DLL load failed: the page file is too small to complete the operation.
- How to Solve Nginx 413 Error (request entity too large)
- [How to Solve] java.lang.IllegalArgumentException: Request header is too large
- Grafana Error: 414 Request-URI Too Large [How to Solve]
- [Solved] Browser Access Error: Request Header or Cookie too large
- [Solved] nodejs Error: request entity too large
- [Solved] Nginx Error: 400 Request Header Or Cookie Too Large
- .Net Core 5.0 Upload File limit via Swagger Api report error: error: request entity too large [Three Methods]
- Git Error: failed: The TLS connection was non-properly terminated
- zabbix-Get value from agent failed: cannot connect to [[127.0.0.1]:10050]: [111] Connection refused
- [Solved] Laravel Create Data Table Error: Syntax error or access violation: 1071 Specified key was too long
- Git Error: error RPC failed; curl 56 OpenSSL SSL_read SSL_ERROR_SYSCALL, errno 10054
- Git push error: RPC failed; curl 7 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- Git Pull Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
- [Solved] Zabbix Error: Cannot parse list of active checks