Title: python 3.11 test_ssl failure with OpenSSL 3.0 on Windows · Issue #101401 · python/cpython · GitHub
Open Graph Title: python 3.11 test_ssl failure with OpenSSL 3.0 on Windows · Issue #101401 · python/cpython
X Title: python 3.11 test_ssl failure with OpenSSL 3.0 on Windows · Issue #101401 · python/cpython
Description: Bug report A clear and concise description of what the bug is. when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed. Include a minimal, reproducible example (https://stackoverflow.com/help/minimal-reproduc...
Open Graph Description: Bug report A clear and concise description of what the bug is. when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed. Include a minimal, reproducible example (https:/...
X Description: Bug report A clear and concise description of what the bug is. when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed. Include a minimal, reproducible example (https:/...
Mail addresses
python-dev@python.org
python-dev@python.org
null@python.org
x00user@example.org
x00user@example.org
Opengraph URL: https://github.com/python/cpython/issues/101401
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python 3.11 test_ssl failure with OpenSSL 3.0 on Windows","articleBody":"\u003c!--\r\n If you're new to Python and you're not sure whether what you're experiencing is a bug, the CPython issue tracker is not\r\n the right place to seek help. Consider the following options instead:\r\n\r\n - reading the Python tutorial: https://docs.python.org/3/tutorial/\r\n - posting in the \"Users\" category on discuss.python.org: https://discuss.python.org/c/users/7\r\n - emailing the Python-list mailing list: https://mail.python.org/mailman/listinfo/python-list\r\n - searching our issue tracker (https://github.com/python/cpython/issues) to see if\r\n your problem has already been reported\r\n--\u003e\r\n\r\n# Bug report\r\n\r\nA clear and concise description of what the bug is.\r\n when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed.\r\n\r\nInclude a minimal, reproducible example (https://stackoverflow.com/help/minimal-reproducible-example), if possible.\r\n\r\n# Your environment\r\n\r\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in --\u003e\r\n\r\n- CPython versions tested on: 3.11.1 \r\n- Operating system and architecture: windows\r\n\r\n\u003c!--\r\nYou can freely edit this text. Remove any lines you believe are unnecessary.\r\n--\u003e\r\nI could build my local python through modify get_external.bat ssl.props python.props ect.\r\nto make my _ssl.pyd call local OPENSSL 3.0 libraries libcrypto-3-x64.dll and libssl-3-x64.dll\r\nBut when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed.\r\n\r\ntest_ssl: testing with 'OpenSSL 3.0.7 1 Nov 2022' (3, 0, 0, 7, 0)\r\nunder Windows ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')\r\nHAS_SNI = True\r\nOP_ALL = 0x-7fffffb0\r\nOP_NO_TLSv1_1 = 0x10000000\r\n...s...............\r\n{'OCSP': ('http://ocsp.verisign.com/',),\r\n'caIssuers': ('http://svrintl-g3-aia.verisign.com/SVRIntlG3.cer',),\r\n'crlDistributionPoints': ('http://svrintl-g3-crl.verisign.com/SVRIntlG3.crl',),\r\n'issuer': ((('countryName', 'US'),),\r\n(('organizationName', 'VeriSign, Inc.'),),\r\n(('organizationalUnitName', 'VeriSign Trust Network'),),\r\n(('organizationalUnitName',\r\n'Terms of use at https://www.verisign.com/rpa (c)10'),),\r\n(('commonName', 'VeriSign Class 3 International Server CA - G3'),)),\r\n'notAfter': 'Sep 20 23:59:59 2012 GMT',\r\n'notBefore': 'Sep 21 00:00:00 2011 GMT',\r\n'serialNumber': '2EE6EA7640A075CEE5005F4D7C79549A',\r\n'subject': ((('countryName', 'FI'),),\r\n(('stateOrProvinceName', 'Espoo'),),\r\n(('localityName', 'Espoo'),),\r\n(('organizationName', 'Nokia'),),\r\n(('organizationalUnitName', 'BI'),),\r\n(('commonName', 'projects.developer.nokia.com'),)),\r\n'subjectAltName': (('DNS', 'projects.developer.nokia.com'),\r\n('DNS', 'projects.forum.nokia.com')),\r\n'version': 3}\r\n.\r\n{'issuer': ((('countryName', 'US'),),\r\n(('stateOrProvinceName', 'Oregon'),),\r\n(('localityName', 'Beaverton'),),\r\n(('organizationName', 'Python Software Foundation'),),\r\n(('organizationalUnitName', 'Python Core Development'),),\r\n(('commonName', 'null.python.org\\x00example.org'),),\r\n(('emailAddress', '[python-dev@python.org](mailto:python-dev@python.org)'),)),\r\n'notAfter': 'Aug 7 13:12:52 2013 GMT',\r\n'notBefore': 'Aug 7 13:11:52 2013 GMT',\r\n'serialNumber': '00',\r\n'subject': ((('countryName', 'US'),),\r\n(('stateOrProvinceName', 'Oregon'),),\r\n(('localityName', 'Beaverton'),),\r\n(('organizationName', 'Python Software Foundation'),),\r\n(('organizationalUnitName', 'Python Core Development'),),\r\n(('commonName', 'null.python.org\\x00example.org'),),\r\n(('emailAddress', '[python-dev@python.org](mailto:python-dev@python.org)'),)),\r\n'subjectAltName': (('DNS', 'altnull.python.org\\x00example.com'),\r\n('email', '[null@python.org](mailto:null@python.org)\\[x00user@example.org](mailto:x00user@example.org)'),\r\n('URI', '[http://null.python.org\\x00http://example.org](http://null.python.org%5Cx00http//example.org)'),\r\n('IP Address', '192.0.2.1'),\r\n('IP Address', '2001:DB8:0:0:0:0:0:1')),\r\n'version': 3}\r\n.\r\n{'issuer': ((('countryName', 'UK'),), (('commonName', 'cody-ca'),)),\r\n'notAfter': 'Jun 14 18:00:58 2028 GMT',\r\n'notBefore': 'Jun 18 18:00:58 2018 GMT',\r\n'serialNumber': '02',\r\n'subject': ((('countryName', 'UK'),),\r\n(('commonName', 'codenomicon-vm-2.test.lal.cisco.com'),)),\r\n'subjectAltName': (('DNS', 'codenomicon-vm-2.test.lal.cisco.com'),),\r\n'version': 3}\r\n...\r\nRAND_status is 1 (sufficient randomness)\r\n. server: new connection from ('127.0.0.1', 65259)\r\n\r\nserver: bad connection attempt from ('127.0.0.1', 65259):\r\nTraceback (most recent call last):\r\nFile \"C:\\Git_root\\mv-pkg\\Python-3.11.1\\Lib\\test\\test_ssl.py\", line 2436, in wrap_conn\r\nself.sslconn = self.server.context.wrap_socket(\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"C:\\Git_root\\mv-pkg\\Python-3.11.1\\Lib\\ssl.py\", line 517, in wrap_socket\r\nreturn self.sslsocket_class._create(\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"C:\\Git_root\\mv-pkg\\Python-3.11.1\\Lib\\ssl.py\", line 1075, in _create\r\nself.do_handshake()\r\nFile \"C:\\Git_root\\mv-pkg\\Python-3.11.1\\Lib\\ssl.py\", line 1346, in do_handshake\r\nself._sslobj.do_handshake()\r\nConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine\r\n.......................s.OPENSSL_Uplink(00007FFB16F545C0,08): no OPENSSL_Applink\r\n\r\nDoes any one can help?","author":{"url":"https://github.com/mzhao-dev","@type":"Person","name":"mzhao-dev"},"datePublished":"2023-01-29T03:01:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/101401/cpython/issues/101401"}
| 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:eb66db0d-e17e-5d9b-bb02-b6455fae0fe1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFB6:357CBB:9495A1:CA7D55:6969ECB9 |
| html-safe-nonce | 6811b65b55a43f6b2fa15df71b3520dca3aa7e0853cf6887c816b08933b230ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkI2OjM1N0NCQjo5NDk1QTE6Q0E3RDU1OjY5NjlFQ0I5IiwidmlzaXRvcl9pZCI6IjQwNTU3NzA3MDY1NDY0NzQ4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9405984cd3868fd71bb116fc480de1a79bae4789daf98d14d9a533a1cd4d40fe |
| hovercard-subject-tag | issue:1561100181 |
| 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/101401/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f56a2b5dce33820c5d62492b72bc8a1a43c417eb66d24557aed8d175ce9c62b2/python/cpython/issues/101401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f56a2b5dce33820c5d62492b72bc8a1a43c417eb66d24557aed8d175ce9c62b2/python/cpython/issues/101401 |
| og:image:alt | Bug report A clear and concise description of what the bug is. when I ran test_ssl.py. It shows No OPENSSL_Applink runtime error and python crashed. Include a minimal, reproducible example (https:/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mzhao-dev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width