Title: [FEATURE] Allow overriding of CA certificates · Issue #2557 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [FEATURE] Allow overriding of CA certificates · Issue #2557 · python-telegram-bot/python-telegram-bot
X Title: [FEATURE] Allow overriding of CA certificates · Issue #2557 · python-telegram-bot/python-telegram-bot
Description: Running a Telegram bot behind a proxy server that inspects traffic results in an SSL certificate error. Setting REQUESTS_CA_BUNDLE or SSL_CERT_FILE does not work because python-telegram-bot uses certifi which respects neither of the envi...
Open Graph Description: Running a Telegram bot behind a proxy server that inspects traffic results in an SSL certificate error. Setting REQUESTS_CA_BUNDLE or SSL_CERT_FILE does not work because python-telegram-bot uses ce...
X Description: Running a Telegram bot behind a proxy server that inspects traffic results in an SSL certificate error. Setting REQUESTS_CA_BUNDLE or SSL_CERT_FILE does not work because python-telegram-bot uses ce...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2557
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE] Allow overriding of CA certificates","articleBody":"Running a Telegram bot behind a proxy server that inspects traffic results in an SSL certificate error. Setting `REQUESTS_CA_BUNDLE` or `SSL_CERT_FILE` does not work because `python-telegram-bot` uses `certifi` which respects neither of the environment variables.\r\n\r\nhttps://github.com/python-telegram-bot/python-telegram-bot/blob/d08172b4b0e08e52523cb93b723ccac9a3da3823/telegram/utils/request.py#L148-L154\r\n\r\nMy feature request is that a parameter \"use system certificates\" or an argument for the certificates file path on the `Updater` (and probably on `Bot` as well because that class actually instantiates the `Request` class) gets added.\r\n\r\nIt could also be an argument on the `Request` class that we can set by passing the `request_kwargs` to the `Updater` or a `Request` object directly to the `Bot`.\r\n","author":{"url":"https://github.com/NiklasRosenstein","@type":"Person","name":"NiklasRosenstein"},"datePublished":"2021-06-09T20:57:38Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2557"}
| 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:60e232dc-01b8-0da6-ce6a-2e4c3e413949 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D11C:213839:52D9547:695775B:6B0279D3 |
| html-safe-nonce | ebca9f80aa125222584b63b8cefeddf473632a254dde682c26b90609ea4e5fd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTFDOjIxMzgzOTo1MkQ5NTQ3OjY5NTc3NUI6NkIwMjc5RDMiLCJ2aXNpdG9yX2lkIjoiNDAyODAxMzcwODU5MTY1OTQ3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8ff5230820368b7e0ac5b2ea4583bdfb3a22775867a358f7c0c100fcb7a44e6 |
| hovercard-subject-tag | issue:916667628 |
| 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-telegram-bot/python-telegram-bot/2557/issue_layout |
| twitter:image | https://opengraph.githubassets.com/472f5f58ca187ddc98c667e8ad35ac231c4f741dd7068aa7c9db241b9e5dd7e4/python-telegram-bot/python-telegram-bot/issues/2557 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/472f5f58ca187ddc98c667e8ad35ac231c4f741dd7068aa7c9db241b9e5dd7e4/python-telegram-bot/python-telegram-bot/issues/2557 |
| og:image:alt | Running a Telegram bot behind a proxy server that inspects traffic results in an SSL certificate error. Setting REQUESTS_CA_BUNDLE or SSL_CERT_FILE does not work because python-telegram-bot uses ce... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NiklasRosenstein |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| 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