SSL certificate problem: Unable to get local issuer certificate | Bitbucket Data Center (2024)

Platform Notice: Cloud, Server, and Data Center - This article applies equally to all platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The following is seen on the command line when pushing or pulling:

SSL Certificate problem: unable to get local issuer

Cause

There are two potential causes that have been identified for this issue.

  1. A Self-signed certificate cannot be verified.
  2. Default GIT crypto backend (Windows clients)

Resolution

Resolution #1 - Self Signed certificate

Workaround

Tell git to not perform the validation of the certificate using the global option:

git config --global http.sslVerify false

SSL certificate problem: Unable to get local issuer certificate | Bitbucket Data Center (1)Please be advised disabling SSL verification globallymight be considered a security riskand should be implemented only temporarily

Resolution - Client Side

Please notice that we refer to the Certificate Authority in this article by the acronym CA.

There are several ways this issue has been resolved previously. Below we suggest possible solutions that should be run on the client side:

  1. Ensure the root cert is added to git.exe's certificate store. The location of this file will depend on how/where GIT was installed. For instance,the trusted certificate store directory for Git Bash isC:\Program Files\Git\mingw64\ssl\certs. This is also discussed on this Microsoft blog.
  2. Tell Git where to find the CA bundle, either by running:

    git config --system http.sslCAPath /absolute/path/to/git/certificates

    where/absolute/path/to/git/certificates is the path to where you placed the file that contains the CA certificate(s).

    or bycopying the CA bundle to the /bindirectory and adding the following to thegitconfig file:

    sslCAinfo = /bin/curl-ca-bundle.crt
  3. Reinstall Git.
  4. Ensure that the complete certificate chain is present in the CA bundle file, including the root cert.

Resolution - Server Side

This issue can also happen on configurations whereBitbucket Server is secured with an SSL-terminating connector rather than a proxy

  1. Ensure that the Java KeyStore has the entire certificate chain (Intermediate CA and Root CA)
    • View the Certificate Chain Details inside the KeyStore using a tool like the KeyStore Explorerto check

Resolution #2 -Default GIT crypto backend

When using Windows, the problem resides that git by default uses the "Linux" crypto backend, so the GIT operation may not complete occasionally. Starting with Git for Windows 2.14, you can configure Git to use SChannel, the built-in Windows networking layer as the crypto backend. To do that, just run the following command in the GIT client:

git config --global http.sslbackend schannel

This means that it will use the Windows certificate storage mechanism and youdon'tneed to explicitly configure the curl CA storage (http.sslCAInfo) mechanism.

Description

The following is seen on the command line when pushing or pulling: SSL Certificate problem: unable to get local issuer. This error occurs when a self-signed certificate cannot be verified.

ProductBitbucket
PlatformServer
SSL certificate problem: Unable to get local issuer certificate | Bitbucket Data Center (2024)
Top Articles
Rental & Investment Property Interest Rates | September 2024
Help Guide | Setting automatic Bluetooth connection at startup
55Th And Kedzie Elite Staffing
Minooka Channahon Patch
Palm Coast Permits Online
Odawa Hypixel
Couchtuner The Office
<i>1883</i>'s Isabel May Opens Up About the <i>Yellowstone</i> Prequel
Women's Beauty Parlour Near Me
How Far Is Chattanooga From Here
Espn Expert Picks Week 2
Baseball-Reference Com
Premier Boating Center Conroe
Vichatter Gifs
Conduent Connect Feps Login
De Leerling Watch Online
Walthampatch
The most iconic acting lineages in cinema history
Lima Funeral Home Bristol Ri Obituaries
Eka Vore Portal
Skyward Login Jennings County
Fsga Golf
Holiday Gift Bearer In Egypt
Gotcha Rva 2022
Drift Hunters - Play Unblocked Game Online
Breckiehill Shower Cucumber
Renfield Showtimes Near Paragon Theaters - Coral Square
Craftsman Yt3000 Oil Capacity
Darktide Terrifying Barrage
Gideon Nicole Riddley Read Online Free
Ket2 Schedule
Msnl Seeds
Soulstone Survivors Igg
Latest Nigerian Music (Next 2020)
Main Street Station Coshocton Menu
Uc Santa Cruz Events
Dollar Tree's 1,000 store closure tells the perils of poor acquisitions
Myanswers Com Abc Resources
Leena Snoubar Net Worth
Hireright Applicant Center Login
What Is A K 56 Pink Pill?
11526 Lake Ave Cleveland Oh 44102
2132815089
SF bay area cars & trucks "chevrolet 50" - craigslist
Post A Bid Monticello Mn
Valls family wants to build a hotel near Versailles Restaurant
Iman Fashion Clearance
Tyco Forums
Horseneck Beach State Reservation Water Temperature
Coleman Funeral Home Olive Branch Ms Obituaries
Bumgarner Funeral Home Troy Nc Obituaries
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 6389

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.