git error: Issuer certificate is invalid

flo schramm September 27, 2012

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

1 vote
Answer accepted
Douglas Fabretti
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2012

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

flo schramm October 9, 2012

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
flo schramm January 31, 2013

I'll try it. Thanks Daniel.

0 votes
Daniel R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events