git error: Issuer certificate is invalid


I've installed stash and wanted to import an existing git repository into stash, but I get this error when I run git push origin master:

error: Issuer certificate is invalid. while accessing https://user@host:1234/abc.git/info/refs
HTTP request failed

Whats wrong here?

Thanks :)

3 answers

1 accepted

1 vote
Accepted answer

Hi there.

This is probably a problem with the SSL Certificate.

I can't tell you exactly what is the problem but you can disable SSL Checks on the git client to finish the push:

  • git config --global http.sslVerify false

Please let me know how it goes.

Douglas Fabretti
Atlassian Support

Hey, it works with git config --global http.sslVerify false. I think, this is because we used a self-signed certificate. Is there a solution to use git with a self-signed certificate? thanks :)

0 votes
Daniel Rohan Atlassian Team Jan 31, 2013

Hello flflfl,

I came across this KB article and thought it may benefit you:


I'll try it. Thanks Daniel.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

410 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you