# SSL Working in Browser, but not in git clone

**URL:** <https://forum.gitea.com/t/ssl-working-in-browser-but-not-in-git-clone/7843>\
**Category:** Install/Maintain/Configure\
**Created:** [September 15, 2023, 4:29am UTC](https://forum.gitea.com/t/ssl-working-in-browser-but-not-in-git-clone/7843 "2023-09-15T04:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdklfjhadkjfhsakjh](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sdklfjhadkjfhsakjh](https://forum.gitea.com/u/sdklfjhadkjfhsakjh)\
**Post date:** [September 15, 2023, 4:29am UTC](https://forum.gitea.com/t/ssl-working-in-browser-but-not-in-git-clone/7843/1 "2023-09-15T04:29:29Z")

</div>

Hey, I set up an ssl certificate with zerossl, and I’ve had no problem accessing the web portal with https, no other setup required (loaded my certificate). However, on clone, I run into the following issue:

```auto
Cloning into 'test-lfs'...
fatal: unable to access 'https://gitea.{Insert my url}.com/test-lfs.git/': server certificate verification failed. CAfile: none CRLfile: none

```

Please note that insert my url is populated on my machine.  
Any advice would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Alexey](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Alexey](https://forum.gitea.com/u/Alexey)\
**Post date:** [September 17, 2023, 5:06pm UTC](https://forum.gitea.com/t/ssl-working-in-browser-but-not-in-git-clone/7843/2 "2023-09-17T17:06:02Z")

</div>

Is it self signed?  
In my case i have self signed certificate and have something like you. I use this:  
in current command:

```auto
git -c http.sslVerify=false clone https://example.com/path/to/git

```

No recommended, in config:

```auto
git config --global http.sslVerify false # Do NOT do this!

```

Or may be you have no certificate chain on your client?

---

<div class="post-metadata">

**Author:** ![sdklfjhadkjfhsakjh](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sdklfjhadkjfhsakjh](https://forum.gitea.com/u/sdklfjhadkjfhsakjh)\
**Post date:** [September 17, 2023, 5:19pm UTC](https://forum.gitea.com/t/ssl-working-in-browser-but-not-in-git-clone/7843/3 "2023-09-17T17:19:19Z")

</div>

No, the certificate is signed by ZeroSSL.
