Defender gives warning message 'unexpected error

'Hi. When opening the dashboard of Defender, I get this message:

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/content/a/r/t/artkenyalinux/html/kibosafaricamp/wp-includes/update.php on line 306

As it mentions a file in wp-includes, I reinstalled Wordpress, but the error persists. It also takes quite a while for the dashboard to load. I scanned the site with Defender, and it came out clean.

Any idea what could cause this?