Skip to content

Self-hosted Git: server certificate verification failed. CAfile: none CRLfile: none #13461

Answered by dargoz
dargoz asked this question in Q&A
Discussion options

You must be logged in to vote

after several experiment I've found out how to change it:

by recreating docker image from base image and add my custom .gitconfig to targeted path and set the desired user ownership

FROM weblate/weblate:latest

USER root
RUN mkdir -p /app/data/ && chown 1006250000:1006250000 /app/data/
RUN mkdir -p /app/data/home && chown 1006250000:1006250000 /app/data/home
COPY .gitconfig /app/data/home
RUN chown 1006250000:1006250000 /app/data/home/.gitconfig

USER 1006250000

it's work now

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nijel
Comment options

nijel Jan 9, 2025
Maintainer

@dargoz
Comment options

@dargoz
Comment options

Answer selected by dargoz
@nijel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants