Unable to update WP Core and Plugins: cURL errors

I can’t update WP Core or plugins on my Local sites.

Updating core from WP Admin UI generates:

Download failed.: cURL error 35: Unknown SSL protocol error in connection to downloads.wordpress.org:443

Updating from the WP Admin UI plugins generate:

An error occurred while updating iThemes Sync: Download failed. cURL error 35: Unknown SSL protocol error in connection to downloads.wordpress.org:443

WP CLI:

# wp core update
Updating to version 4.9.2 (en_US)...
Downloading update from https://downloads.wordpress.org/release/wordpress-4.9.2-no-content.zip...
Warning: Re-trying without verify after failing to get verified url 'https://downloads.wordpress.org/release/wordpress-4.9.2-no-content.zip' cURL error 35: Unknown SSL protocol error in connection to downloads.wordpress.org:443 .
Error: Failed to get non-verified url 'https://downloads.wordpress.org/release/wordpress-4.9.2-no-content.zip' cURL error 35: Unknown SSL protocol error in connection to downloads.wordpress.org:443 .

# wp plugin update --all
Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.6.2.7.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Downloading update from https://downloads.wordpress.org/plugin/ithemes-sync.2.0.4.zip...
Warning: Download failed. "cURL error 35: Unknown SSL protocol error in connection to downloads.wordpress.org:443 "
Disabling Maintenance mode...
+--------------------------------+-------------+-------------+---------+
| name                           | old_version | new_version | status  |
+--------------------------------+-------------+-------------+---------+
| google-analytics-for-wordpress | 6.2.6       | 6.2.7       | Updated |
| ithemes-sync                   | 2.0.3       | 2.0.4       | Updated |
+--------------------------------+-------------+-------------+---------+
Success: Updated 2 of 2 plugins.

I’ve updated to Local 2.2.3 and VirtualBox 5.2.6

@ColinD,

Can you please try the following?

  1. Right-click on the site in Local’s sidebar and go to “Open Site SSH”
  2. Run apt-get update && apt-get install ca-certificates

Just started working on its own…