@lainz
There is really nothing I can do, since OPM only includes the opensslsockets in the uses. I did not implement any openssl specific stuff.
PS: I did take a quick look, openssl 3.0.x it is supported in FPC trunk(maybe 3.2.4 too, did not checked). Can you please install Lazarus/FPC trunk with FPCDeluxe and give it a try? Another solution to install openssl 1.1.1 in your linux distro, I'm sure that more then one version can be installed at the same time.