Title: test.test_httplib.HTTPSTest.test_networked_good_cert fails with OpenSSL 4.1.0 · Issue #160823 · python/cpython · GitHub
Open Graph Title: test.test_httplib.HTTPSTest.test_networked_good_cert fails with OpenSSL 4.1.0 · Issue #160823 · python/cpython
X Title: test.test_httplib.HTTPSTest.test_networked_good_cert fails with OpenSSL 4.1.0 · Issue #160823 · python/cpython
Description: Bug report ====================================================================== ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest.test_networked_good_cert) --------------------------------------------------------------------...
Open Graph Description: Bug report ====================================================================== ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest.test_networked_good_cert) ----------------------------...
X Description: Bug report ====================================================================== ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest.test_networked_good_cert) ----------------------------...
Opengraph URL: https://github.com/python/cpython/issues/160823
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test.test_httplib.HTTPSTest.test_networked_good_cert fails with OpenSSL 4.1.0","articleBody":"### Bug report\n\n```pytb\n======================================================================\nERROR: test_networked_good_cert (test.test_httplib.HTTPSTest.test_networked_good_cert)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/usr/lib/python3.15/test/test_httplib.py\", line 2247, in test_networked_good_cert\n h.request('GET', '/')\n ~~~~~~~~~^^^^^^^^^^^^\n File \"/usr/lib/python3.15/http/client.py\", line 1398, in request\n self._send_request(method, url, body, headers, encode_chunked)\n ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.15/http/client.py\", line 1444, in _send_request\n self.endheaders(body, encode_chunked=encode_chunked)\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.15/http/client.py\", line 1393, in endheaders\n self._send_output(message_body, encode_chunked=encode_chunked)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.15/http/client.py\", line 1153, in _send_output\n self.send(msg)\n ~~~~~~~~~^^^^^\n File \"/usr/lib/python3.15/http/client.py\", line 1097, in send\n self.connect()\n ~~~~~~~~~~~~^^\n File \"/usr/lib/python3.15/http/client.py\", line 1543, in connect\n self.sock = self._context.wrap_socket(self.sock,\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^\n server_hostname=server_hostname)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.15/ssl.py\", line 469, in wrap_socket\n return self.sslsocket_class._create(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n sock=sock,\n ^^^^^^^^^^\n ...\u003c5 lines>...\n session=session\n ^^^^^^^^^^^^^^^\n )\n ^\n File \"/usr/lib/python3.15/ssl.py\", line 1103, in _create\n self.do_handshake()\n ~~~~~~~~~~~~~~~~~^^\n File \"/usr/lib/python3.15/ssl.py\", line 1434, in do_handshake\n self._sslobj.do_handshake()\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'self-signed.pythontest.net'. (_ssl.c:1147)\n\n----------------------------------------------------------------------\n```\n\nApparently this is caused by an intentional change in OpenSSL, see https://github.com/openssl/openssl/issues/33420.\n\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/xry111","@type":"Person","name":"xry111"},"datePublished":"2026-10-28T14:08:48Z","url":"https://github.com/python/cpython/issues/160823"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2cf5724c-8b8a-b2d8-6bbf-4d49a1fdc51e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E28:EA06E:496F099:5D0F78B:6B022F55 |
| html-safe-nonce | 9a7bc94d4a4d95b657d4c84c0445711df8673827a1f0d1f5a1b8dca78b9a5a82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTI4OkVBMDZFOjQ5NkYwOTk6NUQwRjc4Qjo2QjAyMkY1NSIsInZpc2l0b3JfaWQiOiIzMzgwNTQ3MjY0MTY1NTg4ODIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 35089c7716a3aa17fb41ad2ff637074dd215dfeb1deb0462ddea8c210ad415c9 |
| hovercard-subject-tag | issue:6080624038 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/160823/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c06c6b380d746b1a09d84d90024881dc71ec0a986cf25de027d9f1b93d21cc99/python/cpython/issues/160823 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c06c6b380d746b1a09d84d90024881dc71ec0a986cf25de027d9f1b93d21cc99/python/cpython/issues/160823 |
| og:image:alt | Bug report ====================================================================== ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest.test_networked_good_cert) ----------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xry111 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width