stash https and SSL questions

I have two questions about using Stash over https with SLL.. 

 

1) we are using stash over https.. any way for it to stop asking for the password everything I try to do a push or pull

 

2) some of my users are getting the following error: 
fatal: unable to access 'xxxx': Problem with the   SSL CA cert (path? access rights?)


I fixed it but doing "git config --global http.sslVerify false"

but what is the real issue and how do I address it... thanks 

2 answers

1) we are using stash over https.. any way for it to stop asking for the password everything I try to do a push or pull

 

You can use SourceTree to save password. [SourceTree-> Tools-> Options-> Authentication -> (Edit)]

 

You can also find other options here->  https://confluence.atlassian.com/display/STASH/Permanently+authenticating+with+Git+repositories .

 

 

2) some of my users are getting the following error: 
fatal: unable to access 'xxxx': Problem with the   SSL CA cert (path? access rights?)

 

I guess, you need to publish or add CA certificate to java keystore to authenticate.

http://stackoverflow.com/questions/4325263/how-to-import-a-cer-certificate-into-a-java-keystore

http://www.tutorialspoint.com/unix_commands/keytool.htm (check "Importing Certificates" topic)

 

It can be done using below commond:

  1. Go to your java_home\jre\lib\security
  2. Run keytool to import certificate:

.

 ..\..\bin\keytool -import -trustcacerts -keystore cacerts  - storepass changeit -noprompt -alias yourAliasName -file path\to\certificate.cer

 

 

Hope this will help.

Regards,

Anurag Prakash

 

yea.. I try this and I am still getting .... fatal: unable to access 'https://XXX/';: SSL certificate problem: unable to get local issuer certificate

0 vote

Hi Johnathan,

1) The answer given by Anurag is accurate on this one. Please refer to this article:

2) Git does not use the Java keystore for SSL certificates. This is not accurate. The blogpost below is based on Windows, but could be applied to any OS:

I hope that helps.

Best,
Thiago Bomfim

yea.. I try this and I am still getting .... fatal: unable to access 'https://XXX/';: SSL certificate problem: unable to get local issuer certificate

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,771 views 1 5
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