SSL Error pull/push the repository code


I have been working in SourceTree for over a year now and never encountered this error:

When I try to Push/Pull any code change I get the following error (I have purposely oerwritten some text with 'xxxx' in the below url ):

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: unable to access '': SSL certificate problem: unable to get local issuer certificate
Completed with errors, see above.

Could you please send the ca-bundel.crt or let us know how to generate one i.e. the possible solution. The whole team is impacted by the error.



1 answer

0 votes

Hi Paramvir! This issue has been documented in our knowledge base, can you follow SSL certificate problem unable to get local issuer certificate and let us know if it worked for you?



Thanks Ana for the quick reply.

I spoke to my Infrastructure team and they suggested that they do need the ca certificate from the provider (in this case BitBucket).


Hi Paramvir, I've checked with the team and they confirmed that we don't provide these certificates. You will need to get it using the browser, as explained at Resolving SSL self signed certificate errors.

You can also refer to Securing Bitbucket Server for instructions regarding the CA Certificate.

Let us know if there's anything else we can assist you with.

Hope that helps!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,227 views 4 2
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