Re: Openssl errors on FreeBSD

From: Jin Guojun[VFF] <jguojun_at_gmail.com>
Date: Wed, 08 Nov 2023 00:36:15 UTC
On 11/7/23 13:45, iio7@tutanota.com wrote:
> I have booted up two other FreeBSD machines on the same network, attached to the same switch as the other two boxes. Same version of FreeBSD and OpenSSL, and they work fine.
>
> On the two boxes that works, I get the following identical checksums for both:
>
> MD5 (/usr/lib/libssl.so.111) = c0acd4514415e93aeab75b7f4c557215
> MD5 (/usr/local/lib/libssh2.so.1) = 8db4b65c0e970a9b770901417dadd802
> MD5 (/usr/local/lib/libpsl.so.5) = 43354da8ffb91bee9e9b085c7220d00f
> MD5 (/lib/libcrypt.so.5) = cb4a7958dbaba1291c11384dbc36cd06
>
> On the first failing box:
>
> MD5 (/usr/lib/libssl.so.111) = c0acd4514415e93aeab75b7f4c557215
> MD5 (/usr/local/lib/libssh2.so.1) = de126372e3ca38ddc3a9aadf55d64d6d
> MD5 (/usr/local/lib/libpsl.so.5) = ed11fe03ea248b4e82202c5dabbfb77a
> MD5 (/lib/libcrypt.so.5) = cb4a7958dbaba1291c11384dbc36cd06
>
> On the second failing box:
>
> MD5 (/usr/lib/libssl.so.111) = c0acd4514415e93aeab75b7f4c557215
> MD5 (/usr/local/lib/libssh2.so.1) = de126372e3ca38ddc3a9aadf55d64d6d
> MD5 (/usr/local/lib/libpsl.so.5) = ed11fe03ea248b4e82202c5dabbfb77a
> MD5 (/lib/libcrypt.so.5) = cb4a7958dbaba1291c11384dbc36cd06
>
> On one of the working boxes:
>
> -r--r--r--  1 root  wheel   52096 Apr  7  2023 /lib/libcrypt.so.5
> -r--r--r--  1 root  wheel  611232 Apr  7  2023 /usr/lib/libssl.so.111
> -rwxr-xr-x  1 root  wheel   68952 Oct  5 03:16 /usr/local/lib/libpsl.so.5
> -rwxr-xr-x  1 root  wheel  262944 Aug  6 03:08 /usr/local/lib/libssh2.so.1
> On the first failing box:
>
> -r--r--r--  1 root  wheel   52096 Apr 11  2023 /lib/libcrypt.so.5
> -r--r--r--  1 root  wheel  611232 Apr 11  2023 /usr/lib/libssl.so.111
> -rwxr-xr-x  1 root  wheel   72168 Apr 15  2023 /usr/local/lib/libpsl.so.5
> -rwxr-xr-x  1 root  wheel  263296 Jun  1 03:15 /usr/local/lib/libssh2.so.1
>
> On the second failing box:
>
> -r--r--r--  1 root  wheel   52096 Apr 11  2023 /lib/libcrypt.so.5
> -r--r--r--  1 root  wheel  611232 Apr 11  2023 /usr/lib/libssl.so.111
> -rwxr-xr-x  1 root  wheel   72168 Apr 15  2023 /usr/local/lib/libpsl.so.5
> -rwxr-xr-x  1 root  wheel  263296 Jun  1 03:15 /usr/local/lib/libssh2.so.1
> It should be notet that all four boxes only sits on LAN and only I have access. Whatever changes has occurred must be during some upgrade or something.
>
>
The libssl and libcrypto look the same on all machines, so they are not 
the issue. But libss2 and libpsl are different.

Since curl does not directly depend them but depends on libss2 and 
libpsl, which depend on libssl and libcrypto,

then maybe the issue is in libss2 and/or libpsl on the failing boxes.

Try to save libss2 and libpsl on a failing machine, and replace them 
with files from a working box to see if solving the issue.