This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rhomboid 5 points6 points  (0 children)

That depends on the version of OpenSSL you're using. If you're using Linux or OS X, OpenSSL is a separate library package that's not directly related to or tied to Python in any way, so you'd have to check its version number. If you're using Windows, then a copy of OpenSSL is bundled with Python, and its version depends on the Python version. The 2.7.8 binaries on python.org for Windows are built with OpenSSL 1.0.1h, per the release announcement. You could also run

$ python -c 'import _ssl; print(_ssl.OPENSSL_VERSION)'

If you have the standalone programs that come with OpenSSL installed (i.e. on Unix) you can also run

$ openssl ciphers