Apple DeviceCheck and Unsafe legacy renegotiation disabled

I'm writing some PHP code in my server in order to use the Apple devicecheck service when getting a request from my iOS app. When testing locally (dev environment) everything seems to work fine, however when testing from my online host the connection to the Apple service is failing with the error:

cURL error 35: error:0A000152:SSL routines::unsafe legacy renegotiation disabled

Has anyone else encountered this issue with DeviceCheck? From what I've been able to investigate, it seems that the issue is related to the OpenSSL versions in the client (in this case, my online host) and the server (Apple servers), with the latter being on a lower patch version. This is causing the connection to fail with the 'unsafe legacy renegotiation disabled' error message. If this is indeed the cause of the issue, is there no other solution than to wait for Apple to patch their servers? Or is there something that I can do on my end to resolve this? Any help or guidance would be appreciated.

Just to add additional information, the server from where I'm trying to make the connection has the following versions: curl 7.85.0 (x86_64-redhat-linux-gnu) libcurl/7.85.0 OpenSSL/3.0.8

Apple DeviceCheck and Unsafe legacy renegotiation disabled
 
 
Q