Re: Openssl errors on FreeBSD

From: <iio7_at_tutanota.com>
Date: Tue, 07 Nov 2023 10:54:11 UTC

> What does ldd curl show on your problem boxes ? And what versions of curl and openssl do you have installed ? i.e.
>
>  pkg info | egrep "curl|openssl"
>
OpenSSL is in base. It's:

$ openssl version
OpenSSL 1.1.1t-freebsd  7 Feb 2023

$ curl --version
curl 8.4.0 (amd64-portbld-freebsd13.2) libcurl/8.4.0 OpenSSL/1.1.1t zlib/1.2.13 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.58.0
Release-Date: 2023-10-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets

It's the same problem with wget, since it's OpenSSL related.

$ wget https://www.unixsheikh.com/includes/files/the-biggest-myths.pdf
--2023-11-07 11:52:54--  https://www.unixsheikh.com/includes/files/the-biggest-myths.pdf
Resolving www.unixsheikh.com <http://www.unixsheikh.com> (www.unixsheikh.com <http://www.unixsheikh.com>)... 78.47.47.61, 2a01:4f8:d0a:4398::2
Connecting to www.unixsheikh.com <http://www.unixsheikh.com> (www.unixsheikh.com <http://www.unixsheikh.com>)|78.47.47.61|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 782272 (764K) [application/pdf]
Saving to: ‘the-biggest-myths.pdf’

the-biggest-myths.pdf                                                 14%[======================>                                                                                                                                             ] 109.27K  --.-KB/s    in 0.05s   

2023-11-07 11:52:54 (2.29 MB/s) - Read error at byte 111889/782272 (error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac). Retrying.

Both boxes runs the same.