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

This widget could not be displayed.

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 :)

This widget could not be displayed.
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,

This widget could not be displayed.

I'll try it. Thanks Daniel.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,365 views 9 11
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