Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure git to clone from https by providing GeoTrust Intermediate certificate

Fosiul Alam June 30, 2018

Hello,

I have configure bitbucket for https like this 

https://git.mydomain.co.uk:8443

 

from Geotrust   I have 3 files ( which i have used to configrue HTTPS for bitbukcet) 

mydomain_private_key.key

mydomain_ssl_certificate_INTERMEDIATE      |( this suppose to be the bundle )

mydomain_ssl_certificate

-------------------------------------

bitbucket.properties : 

server.port=8443
server.ssl.enabled=true
server.ssl.key-store=/var/atlassian/application-data/bitbucket/shared/config/yumajks.jks
server.ssl.key-store-password=xx
server.ssl.key-password=xx

---------------------------------------------------

Now i have configured git config like this 

 

[http]
sslcainfo = C:/Program Files/Git/usr/bin/mydomain_ssl_certificate_INTERMEDIATE.cer

 

now when i try to clone 

$ git clone https://user@git.mydomain:8443/scm/ac/accounts.git
Cloning into 'accounts'...
fatal: unable to access 'https://user@git.mydomain:8443/scm/ac/accounts.git/': SSL certificate problem: unable to get issuer certificate

 

I have looked bellow, I copied all those 3 files from Geotrust into /bin directory but nothign working

https://confluence.atlassian.com/bitbucketserverkb/ssl-certificate-problem-unable-to-get-local-issuer-certificate-816521128.html

 

CAn any one please let me know what i am doing wrong ? 

do i need to assign any other parameter ?  

 

1 answer

0 votes
Fosiul Alam June 30, 2018

I am not sure if above is possible or not but i made it partially work with  my bellow posted question

https://community.atlassian.com/t5/Bitbucket-questions/SSL-Reverse-proxy-showing-partially-secure/qaq-p/834315

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events