ilo-utils icon indicating copy to clipboard operation
ilo-utils copied to clipboard

Reduce the default security level for openssl

Open gmatiukhin opened this issue 1 year ago • 0 comments

Faced a similar issue to #3 when trying to run the console script.

curl: (35) OpenSSL/3.3.0: error:0A000102:SSL routines::unsupported protocol
Failed to retrieve key. Wrong password or banned?

Fixed with setting the default security level to 0.

According to man 3 SSL_CTX_set_security_level level 0 is

Everything is permitted. This retains compatibility with previous versions of OpenSSL.

Tested on

$ uname -a
Linux Mercury 6.9.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000 x86_64 GNU/Linux

OpenSSL version:

$ openssl --version
OpenSSL 3.3.0 9 Apr 2024 (Library: OpenSSL 3.3.0 9 Apr 2024)

Closes #3

gmatiukhin avatar May 29 '24 21:05 gmatiukhin