Secure connection error to only

Hi Everyone,
I have a problem and hope anyone can help.

We have a VPS and installed cyberpanel + openlitespeed
there is a WordPress website on it, everything is fine BUT we have 1 problem:

WordPress can’t make secure connection to

I investigated forums and tutorials to solve this issue and tried these:

1- openSSL version is latest 
2- TLS 1.3 is avilable
3- added **** to hosts file using SSH
4- asked server owner to check firewall port and they say 443 is open.
5- curl is installed and added in php.ini

The weird part is, in SSH when I try curl or telnet to on port 443, it connects!
but in wp-admin I get Errors and this error cause wp admin be so slow (wait till timeout)

I guess wordpress uses fsocketopen and in this file you can see connection to wordpress is not working:

The error is

**Warning** : An unexpected error occurred. Something may be wrong with or this server’s configuration. If you continue to have problems, please try the [support forums]( (WordPress could not establish a secure connection to Please contact your server administrator.) in **/home/** on line **209**

anything will be helpful.

Welcome @LeAmino Happy you are here

RUn this command in SSH terminal and post screenshot here of the result

openssl s_client -connect

Thank you.
So is this mean openssl has issue? and how can I sort it?

Check the website’s ssl certificate here SSL Checker

Well try this. RUn the command sudo nano /etc/hosts and add the wordpress ip:       localhost    vps19254

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
123.456.78.90 vps19254

# add this line


I’ve added it before.

Thanks for your help btw.

Did you restart lscpd and lsws

systemctl restart lscpd && systemctl restart lsws

it says restart: unrecognized service. I’ve restarted using cyberpanel dashboard. and rebooted server. could it be openSSL version? I can see recent version is 3 but when I try to update in ssh, it says

openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.20).
0 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.

Edit : systemctl restart lscpd && systemctl restart lsws this one restarted…

but still can’t connect

Check the firewall

Server owner firewall:

Cyberpanel Firewall:

Switch off the firewall and try to update plugin or core

Trying to update core but because of this error admin side is so slow.
I’m wondering, Why connections to everywhere on 443 are OK, except


Check php cURL extension https://SERVER_URL:8090/managephp/installExtensions choose the website’s php version anc chech e.g. for php74 lsphp74-curl is installed

yes already installed

I’ve asked in wordpress forum and someone said:

One can only speculate about that. Possibly the responsible module keeps a block IP list.

do you have any clue , how can check something like that in cyberpanel ?

I’ve installed cyberpanel on another VPS (not same server as this)
and openssl connection works fine, so recommended client to change server, it’s server issue not cyberpanel and not WordPress.

Thank you so much for your time @josephgodwinke .
This was a good experience with cyberpanel community.

1 Like