You are right, in fact this is the real problem:
"I am getting this error:
Module Command Error
Curl Error: 56 - OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0"
when I try to make some actions on the virtualmin module.
I mention that the actions are made on the target server, but in whmcs is not reflected those results.
I have latest php version compatible with the latest whmcs ( 8.7.1 General Release 8.7.1-release.1 ) installed.
On the server I have these:
OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)
Apache/2.4.53 (Rocky Linux)
repo id repo name
appstream Rocky Linux 9 - AppStream
baseos Rocky Linux 9 - BaseOS
crb Rocky Linux 9 - CRB
epel Extra Packages for Enterprise Linux 9 - x86_64
extras Rocky Linux 9 - Extras
remi-modular Remi's Modular repository for Enterprise Linux 9 - x86_64
remi-safe Safe Remi's RPM repository for Enterprise Linux 9 - x86_64
virtualmin Virtualmin 7 - x86_64
virtualmin-noarch Virtualmin 7 GPL - noarch
Rocky Linux release 9.1 (Blue Onyx)