title: SSL: :certify: ssl_handshake.erl:1507:Fatal error: certificate expired
body: <p>Trying to update dependencies on a phoenix app by running: <code>mix deps.get</code></p>
  
  <p>The only STOUT is:</p>
  
  <pre><code>07:20:21.642 [error] SSL: :certify: ssl_handshake.erl:1507:Fatal error: certificate expired
  
  
  07:20:21.674 [error] SSL: :certify: ssl_handshake.erl:1507:Fatal error: certificate expired
  
  Registry update failed (http_error)
  {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:tls_alert, 'certificate expired'}}]}
  ** (Mix) Failed to fetch registry
  </code></pre>
  
  <p>I have updated elixir and erlang with <code>brew update</code> but that hasn't helped.</p>