Title: windowsservercore: urllib SSL errors · Issue #359 · docker-library/python · GitHub
Open Graph Title: windowsservercore: urllib SSL errors · Issue #359 · docker-library/python
X Title: windowsservercore: urllib SSL errors · Issue #359 · docker-library/python
Description: I can't get SSL to work in the container, any ideas welcome: docker run -it python:3.7.1-windowsservercore >>> import urllib.request; urllib.request.urlopen("https://letsencrypt.org/") Traceback (most recent call last): File "C:\Python\l...
Open Graph Description: I can't get SSL to work in the container, any ideas welcome: docker run -it python:3.7.1-windowsservercore >>> import urllib.request; urllib.request.urlopen("https://letsencrypt.org/") Traceback (m...
X Description: I can't get SSL to work in the container, any ideas welcome: docker run -it python:3.7.1-windowsservercore >>> import urllib.request; urllib.request.urlopen("https://letsencrypt.o...
Opengraph URL: https://github.com/docker-library/python/issues/359
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"windowsservercore: urllib SSL errors","articleBody":"I can't get SSL to work in the container, any ideas welcome:\r\n\r\n```\r\ndocker run -it python:3.7.1-windowsservercore\r\n>>> import urllib.request; urllib.request.urlopen(\"https://letsencrypt.org/\")\r\nTraceback (most recent call last):\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 1317, in do_open\r\n encode_chunked=req.has_header('Transfer-encoding'))\r\n File \"C:\\Python\\lib\\http\\client.py\", line 1229, in request\r\n self._send_request(method, url, body, headers, encode_chunked)\r\n File \"C:\\Python\\lib\\http\\client.py\", line 1275, in _send_request\r\n self.endheaders(body, encode_chunked=encode_chunked)\r\n File \"C:\\Python\\lib\\http\\client.py\", line 1224, in endheaders\r\n self._send_output(message_body, encode_chunked=encode_chunked)\r\n File \"C:\\Python\\lib\\http\\client.py\", line 1016, in _send_output\r\n self.send(msg)\r\n File \"C:\\Python\\lib\\http\\client.py\", line 956, in send\r\n self.connect()\r\n File \"C:\\Python\\lib\\http\\client.py\", line 1392, in connect\r\n server_hostname=server_hostname)\r\n File \"C:\\Python\\lib\\ssl.py\", line 412, in wrap_socket\r\n session=session\r\n File \"C:\\Python\\lib\\ssl.py\", line 853, in _create\r\n self.do_handshake()\r\n File \"C:\\Python\\lib\\ssl.py\", line 1117, in do_handshake\r\n self._sslobj.do_handshake()\r\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"\u003cstdin>\", line 1, in \u003cmodule>\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 222, in urlopen\r\n return opener.open(url, data, timeout)\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 525, in open\r\n response = self._open(req, data)\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 543, in _open\r\n '_open', req)\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 503, in _call_chain\r\n result = func(*args)\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 1360, in https_open\r\n context=self._context, check_hostname=self._check_hostname)\r\n File \"C:\\Python\\lib\\urllib\\request.py\", line 1319, in do_open\r\n raise URLError(err)\r\nurllib.error.URLError: \u003curlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)>\r\n>>>\r\n\r\n```","author":{"url":"https://github.com/lazka","@type":"Person","name":"lazka"},"datePublished":"2018-12-04T15:37:11Z","url":"https://github.com/docker-library/python/issues/359"}
| 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:d5502269-3066-4734-7e13-a21b546cf6e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8938:119A4:C7D13A:106C351:6AFE8B73 |
| html-safe-nonce | f41996ddb4dfa78561cfdf61876506b5a7fa53597e1d5e1e0405b81c720d9866 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTM4OjExOUE0OkM3RDEzQToxMDZDMzUxOjZBRkU4QjczIiwidmlzaXRvcl9pZCI6IjY2MjgyOTAxMTc2NTM5MjQ3MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7099e41af0ff682c56125b096fda489e3f9b6c0be89d5af70a1ce7d0fcdaaaac |
| hovercard-subject-tag | issue:387345162 |
| 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/docker-library/python/359/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fd771deed65b7223818e0564ab3cdf753072e7eec6014df561e32b30f166c500/docker-library/python/issues/359 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd771deed65b7223818e0564ab3cdf753072e7eec6014df561e32b30f166c500/docker-library/python/issues/359 |
| og:image:alt | I can't get SSL to work in the container, any ideas welcome: docker run -it python:3.7.1-windowsservercore >>> import urllib.request; urllib.request.urlopen("https://letsencrypt.org/") Traceback (m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lazka |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/docker-library/python git https://github.com/docker-library/python.git |
| octolytics-dimension-user_id | 7739233 |
| octolytics-dimension-user_login | docker-library |
| octolytics-dimension-repository_id | 21054928 |
| octolytics-dimension-repository_nwo | docker-library/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21054928 |
| octolytics-dimension-repository_network_root_nwo | docker-library/python |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width