git error: Issuer certificate is invalid

Hey,

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
fatal:
HTTP request failed

Whats wrong here?

Thanks :)

3 answers

1 accepted

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.

Cheers,
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 vote
Daniel Rohan Atlassian Team Jan 31, 2013

Hello flflfl,

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

https://confluence.atlassian.com/display/STASHKB/Issuer+certificate+is+invalid.+while+accessing+https

Thanks,

I'll try it. Thanks Daniel.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 54m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

42 views 3 3
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