Openssl 'too old?' issue: Fixed
Posted: Mon Feb 20, 2017 10:33 am
Hello, everyone!
I used SoftEtherVpn on OpenSuse 13.2 and it works fine.
One day i tried to use it on new OpenSuse Leap. SeVpn build process failed with error:
-- Alert: RsaCheck() --
OpenSSL Library Init Failed. (too old?)
Please install the latest version of OpenSSL.
After OpenSuse 42.2 Leap release i repeated this experiment on it.
It failed again with same error:
-- Alert: RsaCheck() --
OpenSSL Library Init Failed. (too old?)
Please install the latest version of OpenSSL.
Openssl versions:
OpenSuse 13.2
openssl-1.0.1k-2.33.1.x86_64
libopenssl1_0_0-1.0.1k-2.33.1.x86_64
libopenssl-devel-1.0.1k-2.39.1.x86_64
OpenSuse 42.2 Leap
libopenssl1_0_0-1.0.2j-4.1.x86_64
openssl-1.0.2j-4.1.x86_64
libopenssl-devel-1.0.2j-4.1.x86_64
libopenssl1_0_0-32bit-1.0.2j-4.1.x86_64
So, after few days researching i found reason: rsa key length error.
File:
src/Mayaqua/Encrypt.c
Function: bool RsaCheck()
variable: UINT bit = 32;
You need to change it to 1024 or higher (i tested with value: 2048 - ok)
It would be great if my topic help anyone.
I used SoftEtherVpn on OpenSuse 13.2 and it works fine.
One day i tried to use it on new OpenSuse Leap. SeVpn build process failed with error:
-- Alert: RsaCheck() --
OpenSSL Library Init Failed. (too old?)
Please install the latest version of OpenSSL.
After OpenSuse 42.2 Leap release i repeated this experiment on it.
It failed again with same error:
-- Alert: RsaCheck() --
OpenSSL Library Init Failed. (too old?)
Please install the latest version of OpenSSL.
Openssl versions:
OpenSuse 13.2
openssl-1.0.1k-2.33.1.x86_64
libopenssl1_0_0-1.0.1k-2.33.1.x86_64
libopenssl-devel-1.0.1k-2.39.1.x86_64
OpenSuse 42.2 Leap
libopenssl1_0_0-1.0.2j-4.1.x86_64
openssl-1.0.2j-4.1.x86_64
libopenssl-devel-1.0.2j-4.1.x86_64
libopenssl1_0_0-32bit-1.0.2j-4.1.x86_64
So, after few days researching i found reason: rsa key length error.
File:
src/Mayaqua/Encrypt.c
Function: bool RsaCheck()
variable: UINT bit = 32;
You need to change it to 1024 or higher (i tested with value: 2048 - ok)
It would be great if my topic help anyone.