-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
SKIP_TLS_VERIFY not working for self-signed mirror #18998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
and
|
FWIW that setting is for interacting with the API and doesn't override git operations. |
Make SKIP_TLS_VERIFY apply to git data migrations too Fix go-gitea#18998 Signed-off-by: Andrew Thornton <[email protected]>
Make SKIP_TLS_VERIFY apply to git data migrations too through adding the `-c http.sslVerify=false` option to the git clone command. Fix #18998 Signed-off-by: Andrew Thornton <[email protected]>
Backport go-gitea#19132 Make SKIP_TLS_VERIFY apply to git data migrations too through adding the `-c http.sslVerify=false` option to the git clone command. Fix go-gitea#18998 Signed-off-by: Andrew Thornton <[email protected]>
Backport #19132 Make SKIP_TLS_VERIFY apply to git data migrations too through adding the `-c http.sslVerify=false` option to the git clone command. Fix #18998 Signed-off-by: Andrew Thornton <[email protected]>
I have the
I can clone with bare git command |
Have you tried the PR? |
I'm using gitea 1.16.4
I will have a try and give my feedback later I was just wonder that |
I can‘t build the main branch with an error
I will try it when 1.16.5 released, if you didn't hear me later, it should be working |
You can always get the next 1.16.x (unreleased) Gitea in https://dl.gitea.io/gitea/1.16 |
there is no https error with version I wait about 30 minutes , task api still return the task is not started bare git command will finish the clone in 2 minutes it's also so wired that |
Make SKIP_TLS_VERIFY apply to git data migrations too through adding the `-c http.sslVerify=false` option to the git clone command. Fix go-gitea#18998 Signed-off-by: Andrew Thornton <[email protected]>
Gitea Version
1.16.3
Git Version
2.27.0
Operating System
Rocky Linux 8.5
How are you running Gitea?
Locally installed with systemd services.
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Cannot bypass self-signed cert validation for mirroring configuration, unless we import the target self-signed CA certificate into system path /etc/pki/ca-trust/source/anchors/my-ca.crt to make it work.
Not working
Screenshots
No response
The text was updated successfully, but these errors were encountered: