From 2be83fdca5c440d45b8cd92bda9315757463d6c7 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 1 Aug 2023 19:50:17 +0200 Subject: [feature] Allow users to skip http client tls verification for testing purposes (with appropriately loud warnings) (#2052) --- docs/configuration/httpclient.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/configuration/httpclient.md b/docs/configuration/httpclient.md index 1fcf2d061..b76f434dc 100644 --- a/docs/configuration/httpclient.md +++ b/docs/configuration/httpclient.md @@ -53,4 +53,16 @@ http-client: # Both allow-ips and block-ips default to an empty array. allow-ips: [] block-ips: [] + + # Bool. Disable verification of TLS certificates of remote servers. + # With this set to 'true', GoToSocial will not error when a remote + # server presents an invalid or self-signed certificate. + # + # THIS SETTING SHOULD BE USED FOR TESTING ONLY! IF YOU TURN THIS + # ON WHILE RUNNING IN PRODUCTION YOU ARE LEAVING YOUR SERVER WIDE + # OPEN TO MAN IN THE MIDDLE ATTACKS! DO NOT CHANGE THIS SETTING + # UNLESS YOU KNOW EXACTLY WHAT YOU'RE DOING AND WHY YOU'RE DOING IT. + # + # Default: false + tls-insecure-skip-verify: false ``` -- cgit v1.2.3