<blockquote>
  <p>error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version</p>
</blockquote>

<p>Your local OpenSSL setup is trying to connect with an older, insecure TLS 1.0 protocol, which Github (and a lot of other sites) no longer support.</p>

<p>If you update it to use TLS 1.2, the error will go away.</p>

<p>If you're on something like MAMP/WAMP, etc. then updating to the latest version of their software is usually enough to resolve this issue.</p>

CC BY-SA 4.0
2018-05-02T13:33:59.777Z
Yup, after diving through their extensions they don't have OpenSSL listed. Thanks Brad!
cballenar
CC BY-SA 3.0
2018-05-01T20:28:39.213Z
2018-05-01T20:28:39.213Z
Brad Bell
<p>I'm unable to update or install plugins in Craft 3.
Running in macOS via MAMP, PHP 7.0.8.</p>

<pre><code>Error: The "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Failed to enable crypto
failed to open stream: operation failed

Output: Loading composer repositories with package information
Updating dependencies
Package operations: 8 installs, 0 updates, 0 removals
  - Installing psr/cache (1.0.1): Downloading (connecting...)Downloading (failed)
Downloading (connecting...)
Downloading (failed)
Downloading (connecting...)
Downloading (failed)
</code></pre>

<p>Has anyone run into this situation or have any suggestions as to how to get around it?</p>

<updates><composer><ssl>
Can't update or install plugins locally, macOS
# Can't update or install plugins locally, macOS

(Asked by: username_0 on 2018-05-01)

I'm unable to update or install plugins in Craft 3.
Running in macOS via MAMP, PHP 7.0.8.
Error: The "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Failed to enable crypto
failed to open stream: operation failed

Output: Loading composer repositories with package information
Updating dependencies
Package operations: 8 installs, 0 updates, 0 removals
  - Installing psr/cache (1.0.1): Downloading (connecting...)Downloading (failed)
Downloading (connecting...)
Downloading (failed)
Downloading (connecting...)
Downloading (failed)

Has anyone run into this situation or have any suggestions as to how to get around it?

**Tags:** updates, composer, ssl

---

## 1 answers

### Answer by username_1 on 2018-05-01. Score: 3 | Accepted answer

> error:1407742E:SSL routines:SSL23\_GET\_SERVER\_HELLO:tlsv1 alert protocol version

Your local OpenSSL setup is trying to connect with an older, insecure TLS 1.0 protocol, which Github (and a lot of other sites) no longer support.

If you update it to use TLS 1.2, the error will go away.

If you're on something like MAMP/WAMP, etc. then updating to the latest version of their software is usually enough to resolve this issue.

> **Comments:**
> **username_0**: Yup, after diving through their extensions they don't have OpenSSL listed. Thanks Brad!  

---

