Isn't it a fix for this issue? https://github.com/php/php-src/issues/8369
On Thu, 19 May 2022, 21:17 Frederic Leclercq, <fred.mo...@gmail.com> wrote: > Hi all, > > Apologies for just popping in here, but since I installed ubuntu 22.04 LTS > I often come across the error > "file_get_contents(): SSL operation failed with code 1. OpenSSL Error > messages: > error:0A000126:SSL routines::unexpected eof while reading" > > It seems to occur mostly in PHP applications. It is often referred to an > OpenSSL 3 issue. > > I currently have this version up: > OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) > built on: Thu May 5 08:04:52 2022 UTC > platform: debian-amd64 > options: bn(64,64) > compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall > -Wa,--noexecstack -g -O2 > -ffile-prefix-map=/build/openssl-Ke3YUO/openssl-3.0.2=. -flto=auto > -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong > -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 > -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL > -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 > OPENSSLDIR: "/usr/lib/ssl" > ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-3" > MODULESDIR: "/usr/lib/x86_64-linux-gnu/ossl-modules" > Seeding source: os-specific > CPUINFO: OPENSSL_ia32cap=0x7ed8320b078bffff:0x400004219c91a9 > > Can anyone help me to solve this problem? > > Thanks in advance! > Fred. >