go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

Home Page:https://gitea.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Untrusted CA ZEROSSL when uploading LFS objects

gesangtome opened this issue · comments

Description

When I am uploading a REPO with a GIT LFS object to my gitea instance, I get an error about SSL authentication:

batch response: Post "https://xxx.git/info/lfs/objects/batch":
tls: failed to verify certificate: x509: certificate signed by unknown authority

I confirm that gitea works fine in EDGE/Chrome, it uses SSL certificates issued by ZEROSSL, but it errors when pushing in GIT COMMAND.

Gitea Version

Gitea 1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://static.linux-site.org/gitea.log

Screenshots

No response

Git Version

git version 2.45.2

Operating System

K3s

How are you running Gitea?

Official gitea docker image

Database

MySQL/MariaDB