From a3296f475f1e48bf4308137af7156266ef82b9f7 Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 31 May 2026 15:25:56 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20SSL=20errors=20for=20repos?= =?UTF-8?q?itory=20migrations=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SSL interception on this network presents certificates without SANs for the target hostname, breaking git clone operations during Gitea migrations. Add migration and git-level TLS bypass settings. - rootfs/tmp/etc/gitea/app.ini: add [migration] section with SKIP_TLS_VERIFY=true - rootfs/tmp/etc/gitea/app.ini: add [git.config] http.sslVerify=false rootfs/tmp/etc/gitea/app.ini --- rootfs/tmp/etc/gitea/app.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rootfs/tmp/etc/gitea/app.ini b/rootfs/tmp/etc/gitea/app.ini index f454529..9a3a420 100644 --- a/rootfs/tmp/etc/gitea/app.ini +++ b/rootfs/tmp/etc/gitea/app.ini @@ -210,6 +210,15 @@ DEFAULT_PAGING_NUM = 50 DEFAULT_GIT_TREES_PER_PAGE = 1000 DEFAULT_MAX_BLOB_SIZE = 10485760 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +[migration] +SKIP_TLS_VERIFY = true +ALLOWED_DOMAINS = +BLOCKED_DOMAINS = +ALLOW_LOCALNETWORKS = false +; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +[git.config] +http.sslVerify = false +; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [webhook] QUEUE_LENGTH = 1000 DELIVER_TIMEOUT = 30