# Cannot checkout a repository hosted on a gitea instance using self-signed certificate (\`server certificate verification failed\`)

**URL:** <https://forum.gitea.com/t/cannot-checkout-a-repository-hosted-on-a-gitea-instance-using-self-signed-certificate-server-certificate-verification-failed/7903>\
**Category:** Actions\
**Created:** [September 27, 2023, 5:50pm UTC](https://forum.gitea.com/t/cannot-checkout-a-repository-hosted-on-a-gitea-instance-using-self-signed-certificate-server-certificate-verification-failed/7903 "2023-09-27T17:50:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![haydonryan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/haydonryan/32/6337_2.png) [@haydonryan](https://forum.gitea.com/u/haydonryan)\
**Post date:** [October 21, 2024, 7:20pm UTC](https://forum.gitea.com/t/cannot-checkout-a-repository-hosted-on-a-gitea-instance-using-self-signed-certificate-server-certificate-verification-failed/7903/4 "2024-10-21T19:20:57Z")

</div>

I’m also having the same problems with ca certs, and have just burnt 4 hours trying to get the F thing working.

I run my own Root CA + Intermediate for homelab purposes. Gitea is behind traefik providing the HTTPS endpoint.

On my synology NAS, using a gitea action runner works perfectly - the CA certs pass through to all of the containers.

Running Ubuntu on a different machine, and i can curl the endpoint no problems on the host (cert is in the trust store) but the containers all fail on the git clone step.

I also have insecure: true in my config.yaml

This appears to be a sore spot for sure.

> [@Git actions runner SSL issue](https://forum.gitea.com/t/git-actions-runner-ssl-issue/8115):
>
> When using a git runner (worked prior), I updated the SSL cert that nginx uses to secure gitea and all of a sudden my git action stopped working. My runner is build in a docker container and when calling actions/checkout@v3, I get the below error: Unable to access fatal: unable to access ‘[https://gitea.spacia.com/Spacia/Flyer](https://gitea.spacia.com/Spacia/Flyer)’: server certificate verification failed. CAfile: none CRLfile: none This is only since updating the companies wildcard cert. I also place the cert in /usr/local/share/c…

---

_[View the full topic](https://forum.gitea.com/t/cannot-checkout-a-repository-hosted-on-a-gitea-instance-using-self-signed-certificate-server-certificate-verification-failed/7903)._
