Open OverStyleFR opened 3 months ago
I resolved this same scenario by asking the AI. In my case, it works now, although it involves enabling an insecure protocol…
Edit the OpenSSL configuration file: Open the file /etc/ssl/openssl.cnf with a text editor, for example: sudo nano /etc/ssl/openssl.cnf
Add the configuration: Add the following lines at the end of the file: openssl_conf = openssl_init
[openssl_init] ssl_conf = ssl_sect
[ssl_sect] system_default = system_default_sect
[system_default_sect] Options = UnsafeLegacyRenegotiation
Save and close the file. Set the environment variable: Ensure that the OPENSSL_CONF environment variable is set to point to your customized openssl.cnf file. You can do this by adding the following line to your environment configuration file (e.g., .bashrc or .profile): export OPENSSL_CONF=/etc/ssl/openssl.cnf
Restart the services: After making these changes, restart the relevant services to apply the changes. For example, for Apache: sudo systemctl restart apache2
I used too this extra option:
--ssl-opt 'SSL_verify_mode => SSL_VERIFY_NONE, SSL_version => "TLSv1"' --ssl-opt='SSL_cipher_list => "DEFAULT:!DH"'
Don't work.
I don't have time to clarify, i will respond later.
Hello :)
Have you try the option --insecure
?
Hello :)
Have you try the option
--insecure
?
Yes
Unfortunately, with the information we have, it's difficult to answer in this issue. The plugin's output seems to indicate that it is a SSL connection problem that is not directly caused by the plugin itself. Have you tried running the curl command by hand to check whether you also get a 500 return code? If possible, can you give us some data that will enable us to resimulate the context of your issue?
Quick description
My bug is when i'm trying to use the plugin HP ILO (ResetAPI or XMLAPI) the SSL is to old (TLS 1.0)
How to reproduce
Linux Centreon 6.8.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-2 (2024-04-10T17:36Z) x86_64 GNU/Linux | 12.6
.Expected result
A result of the variable/sensors of ILO
Actual result
UNKNOWN: Login error [code: '500'] [message: 'Can't connect to 192.168.1.30:443 (SSL connect attempt failed error:0A000152:SSL routines::unsafe legacy renegotiation disabled)']