OpenSSL 4.0.0 final was released yesterday (April 14th, 2026). We should updated the _ssl module to support this new version.
_ssl
pythongh-148600: Add Modules/_ssl_data_40.h data
Python can be built with OpenSSL 4.0.0 using these commands:
python3 Tools/ssl/multissltests.py --steps=library --base-directory $HOME/multissl --openssl 4.0.0 --system Linux ./configure --with-pydebug --with-openssl=$HOME/multissl/openssl/4.0.0/ LD_LIBRARY_PATH=~/multissl/openssl/4.0.0/lib64/ make
See also issue gh-148292: test_urllib2_localnet fails with OpenSSL 4.0.0beta1.
See also PR gh-146217 which added support for OpenSSL 4.0.0 alpha1.
gh-148600: Add Modules/_ssl_data_40.h data (#148601)
pythongh-148600: Add Modules/_ssl_data_40.h data (python#148601)
gh-148600: Add OpenSSL 4.0.0 support to test configurations (#149356)
pythongh-148600: Add OpenSSL 4.0.0 support to test configurations (py…
There is no more known issue with OpenSSL 4.0.0. I close this issue.
I also proposed a backport to the 3.14 branch, but it was decided to no backport yet: #149783.
Backports of this issue also need:
Activity
pythongh-148600: Add Modules/_ssl_data_40.h data
pythongh-148600: Add Modules/_ssl_data_40.h data
vstinner commentedon Apr 15, 2026
Python can be built with OpenSSL 4.0.0 using these commands:
See also issue gh-148292: test_urllib2_localnet fails with OpenSSL 4.0.0beta1.
See also PR gh-146217 which added support for OpenSSL 4.0.0 alpha1.
gh-148600: Add Modules/_ssl_data_40.h data (#148601)
pythongh-148600: Add Modules/_ssl_data_40.h data (python#148601)
gh-148600: Add OpenSSL 4.0.0 support to test configurations (#149356)
pythongh-148600: Add OpenSSL 4.0.0 support to test configurations (py…
vstinner commentedon May 26, 2026
There is no more known issue with OpenSSL 4.0.0. I close this issue.
I also proposed a backport to the 3.14 branch, but it was decided to no backport yet: #149783.
xnox commentedon Sep 12, 2026
Backports of this issue also need: