From 01759da4ef91dd0d78fa1136186624c82e575be8 Mon Sep 17 00:00:00 2001 From: Nacho Barrientos Date: Sat, 16 Mar 2019 02:18:27 +0100 Subject: [PATCH] Telegram_bot: Add option to allow fetching data from unverified SSL endpoints (#22067) (#8950) --- source/_components/notify.telegram.markdown | 15 +++++++++++++++ source/_components/telegram_bot.markdown | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/source/_components/notify.telegram.markdown b/source/_components/notify.telegram.markdown index e0332e66e9c..140fe9a1347 100644 --- a/source/_components/notify.telegram.markdown +++ b/source/_components/notify.telegram.markdown @@ -186,6 +186,11 @@ authentication: required: false default: basic type: string +verify_ssl: + description: Set to false to skip the validation of the server's SSL certificate. + required: false + default: true + type: boolean keyboard: description: List of rows of commands, comma-separated, to make a custom keyboard. required: false @@ -255,6 +260,11 @@ authentication: required: false default: basic type: string +verify_ssl: + description: Set to false to skip the validation of the server's SSL certificate. + required: false + default: true + type: boolean keyboard: description: List of rows of commands, comma-separated, to make a custom keyboard. required: false @@ -309,6 +319,11 @@ authentication: required: false default: basic type: string +verify_ssl: + description: Set to false to skip the validation of the server's SSL certificate. + required: false + default: true + type: boolean keyboard: description: List of rows of commands, comma-separated, to make a custom keyboard. required: false diff --git a/source/_components/telegram_bot.markdown b/source/_components/telegram_bot.markdown index 0ec8fd7abec..784b8f26a76 100644 --- a/source/_components/telegram_bot.markdown +++ b/source/_components/telegram_bot.markdown @@ -51,7 +51,8 @@ Send a photo. | `password` | yes | Password for a URL which requires HTTP basic authentication. | | `authentication` | yes | Define which authentication method to use. Set to `digest` to use HTTP digest authentication. Defaults to `basic`. | | `target` | yes | An array of pre-authorized chat_ids or user_ids to send the notification to. Defaults to the first allowed chat_id. | -| `disable_notification` | yes | True/false for send the message silently. iOS users and web users will not receive a notification, Android users will receive a notification with no sound. Defaults to False. | +| `disable_notification | yes | True/false for send the message silently. iOS users and web users will not receive a notification, Android users will receive a notification with no sound. Defaults to False. | +| `verify_ssl` | yes | True/false for checking the SSL certificate of the server for HTTPS URLs. Defaults to True. | | `keyboard` | yes | List of rows of commands, comma-separated, to make a custom keyboard. Example: `["/command1, /command2", "/command3"]` | | `inline_keyboard` | yes | List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: `["/button1, /button2", "/button3"]` or `[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]` | @@ -69,6 +70,7 @@ Send a video. | `authentication` | yes | Define which authentication method to use. Set to `digest` to use HTTP digest authentication. Defaults to `basic`. | | `target` | yes | An array of pre-authorized chat_ids or user_ids to send the notification to. Defaults to the first allowed chat_id. | | `disable_notification` | yes | True/false to send the message silently. iOS users and web users will not receive a notification. Android users will receive a notification with no sound. Defaults to False. | +| `verify_ssl` | yes | True/false for checking the SSL certificate of the server for HTTPS URLs. Defaults to True. | | `keyboard` | yes | List of rows of commands, comma-separated, to make a custom keyboard. Example: `["/command1, /command2", "/command3"]` | | `inline_keyboard` | yes | List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: `["/button1, /button2", "/button3"]` or `[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]` | @@ -86,6 +88,7 @@ Send a document. | `authentication` | yes | Define which authentication method to use. Set to `digest` to use HTTP digest authentication. Defaults to `basic`. | | `target` | yes | An array of pre-authorized chat_ids or user_ids to send the notification to. Defaults to the first allowed chat_id. | | `disable_notification` | yes | True/false for send the message silently. iOS users and web users will not receive a notification, Android users will receive a notification with no sound. Defaults to False. | +| `verify_ssl` | yes | True/false for checking the SSL certificate of the server for HTTPS URLs. Defaults to True. | | `keyboard` | yes | List of rows of commands, comma-separated, to make a custom keyboard. Example: `["/command1, /command2", "/command3"]` | | `inline_keyboard` | yes | List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: `["/button1, /button2", "/button3"]` or `[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]` |