How to upgrade SSL Version of Python without recompiling

A forum for general discussion of the Python programming language.

How to upgrade SSL Version of Python without recompiling

Postby bmajor » Thu Sep 22, 2016 3:51 pm

I have a Windows version of Python 3.4.4 installed (basically from the Windows Installer). If I check the SSL version:

Code: Select all
import ssl
print(ssl.OPENSSL_VERSION)


it reports 'OpenSSL 1.0.2d 9 Jul 2015'.

I need to update this to 'OpenSSL 1.0.2h 3 May 2016'. Does anyone know how to do this easily? I need to stay with version 3.4.4 (Windows and Linux version) and really don't want to get into compiling the source code. Seems this should be an easy process.

Thanks.
Last edited by micseydel on Thu Sep 22, 2016 4:02 pm, edited 1 time in total.
Reason: Code tags. Initial post lock.
bmajor
 
Posts: 1
Joined: Thu Sep 22, 2016 3:46 pm

Re: How to upgrade SSL Version of Python without recompiling

Postby nilamo » Thu Sep 22, 2016 4:44 pm

Why do you need to downgrade to an older version of openssl?

Also, this isn't a python issue, it's an openssl issue. You could uninstall it and install whatever version you want.
This forum is shutting down. Future discussion should take place at http://python-forum.io
User avatar
nilamo
 
Posts: 87
Joined: Thu Jul 21, 2016 8:00 pm
Location: Michigan

Re: How to upgrade SSL Version of Python without recompiling

Postby sparkz_alot » Thu Sep 22, 2016 5:09 pm

Try from command prompt:
Code: Select all
pip install --upgrade ssl
THIS FORUM WILL BE CLOSING OCT 1, 2016. PLEASE STOP BY AND REGISTER AT THE NEW LOCATION
http://python-forum.io
User avatar
sparkz_alot
 
Posts: 269
Joined: Sat Dec 06, 2014 2:55 pm
Location: US


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

cron