Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Add information about the "bad handshake" error
Browse files Browse the repository at this point in the history
  • Loading branch information
belak committed Jul 15, 2016
1 parent 6d66cd6 commit e1993d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,26 @@ as well. You can even add songs from your All Access subscription to
your library. Mopidy will able to play them.


SSL Errors
==========

There have been reports of some errors relating to certificate verification like
the following::

SSLError: ("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",)

This is because OpenSSL 1.0.1 cannot handle cross-signed certificates. There
have been a number of possible solutions for this. Below, they are listed in
order of preference. If one is not possible or does not work, try the next one.

- Upgrade to OpenSSL 1.0.2
- Assign the result of the following command to the REQUESTS_CA_BUNDLE::

python -c 'import certifi; print certifi.old_where()'

- Downgrade to certifi==2015.04.28


Project resources
=================

Expand Down

0 comments on commit e1993d9

Please sign in to comment.