WordPress could not establish a secure connection to WordPress.org

Hi there,

I just started to test local by flywheel and I have already a big problem.
Impossible to see the themes or plugins to download. I always have the notification:

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /app/public/wp-admin/includes/plugin-install.php on line 164

Does somebody have the solution ?

Hi there,

Sorry for the trouble!

Can you please try going to Help » Restart Local’s Machine? This can help with resetting VirtualBox’s network device(s).

2 Likes

Nope, i have always the similar problem…

I had the same problem. I restarted the local machine and the problem is solved. Apparently there was a problem with the TLS certificate, it was regenerated by Machine Worker on reboot and now it works.