Answer the question
In order to leave comments, you need to log in
How to fix a problem with connecting to Bitbucket?
Bitbucket news released: Deprecating TLSv1 and TLSv1.1 .
After that, the server on CentOS 6 stopped updating packages from the repository on Bitbucket.
To check the connection, I run the command:
GIT_CURL_VERBOSE=1 git ls-remote https://bitbucket.org/
# GIT_CURL_VERBOSE=1 git ls-remote https://bitbucket.org/
* Couldn't find host bitbucket.org in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying 18.205.93.1...
* Connected to bitbucket.org (18.205.93.1) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP)
* Cannot communicate securely with peer: no common encryption algorithm(s).
* Closing connection 0
* Couldn't find host bitbucket.org in the .netrc file; using defaults
* Hostname was found in DNS cache
* Trying 18.205.93.1...
* Connected to bitbucket.org (18.205.93.1) port 443 (#1)
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP)
* Cannot communicate securely with peer: no common encryption algorithm(s).
* Closing connection 1
error: Cannot communicate securely with peer: no common encryption algorithm(s). while accessing https://bitbucket.org//info/refs
fatal: HTTP request failed
# openssl version
OpenSSL 1.1.1a 20 Nov 2018
Answer the question
In order to leave comments, you need to log in
In general, it is strange to still sit on centos6, when even with 7 it is problematic already without external repositories.
The problem is most likely in nss, and that the necessary ciphers are disabled by default, and not that they are not supported in openssl.
You need:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question