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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,457 views 26 12
Join discussion

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