Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSL Self Signed Certificate Error

Michael Behar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 1, 2023

We are getting the following error: 

fatal: unable to access 'https://.....git/': SSL certificate problem: self-signed certificate in certificate chain
We are working inside a VM.
How can I get a certificate to resolve this problem?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2023

Hi Michael and welcome to the community!

Does this occur with a Bitbucket Cloud repo (does the URL of the repo start with

If so, is this VM behind a firewall? It is possible that the firewall intercepts the traffic, replaces the certificate, and then adds its self-signed certificate.

If that is the case, you will need to configure Git to trust this self-signed certificate.

  1. Save the self-signed certificate on this machine
  2. Then execute the command
    git config --global http.sslCAInfo /path/to/your/certificate/cert.pem

/path/to/your/certificate replace with the path of the certificate on your machine
cert.pem replace with the name of the certificate file

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events