2015-01-29 4 views
2

connection`의 자식 오류 '알 수없는 SSL 프로토콜 오류를 극복, 그러나 나는 오류 얻는 방법 : 나는 자식 저장소를 이동 읽었습니다내가 자식 클론 일부 저장소에 노력하고있어

$ git clone --recursive https://some-url.git 
Cloning into 'project'... 
fatal: unable to access 'https://https://some-url.git/': Unknown SSL protocol error in connection to 
some-url.git:443 

POODLE 취약점으로 인해 TLS1.0을 강제 적용하고 더 이상 SSLv3 통신을 지원하지 않습니다. 하지만이 오류 메시지가 내 자식 클라이언트가 SSLv3에 대해서만 알고 서버가 거부한다는 것을 의미하는지 또는 서버가 SSLv3에 말하고 내 클라이언트가 거부한다는 것을 의미하는지 여부를 알 수 없습니다. 클라이언트에 문제가있는 경우 어떻게 TLS를 사용하도록 구성 할 수 있습니까? 반면에 서버 인 경우 어떻게 해결할 수 있습니까?

오류는 SourceTree와 scm git (console 및 gui)에서 모두 수신됩니다.

답변

0

how can I configure it to use TLS?

힘내 2.5 (2015 년 8 월) 이미 http.sslCipherListGIT_SSL_CIPHER_LIST로, SSL 연결을 협상 할 때 사용하는 암호 목록을 지정할 수 있습니다.
(Cannot communicate securely with peer: no common encryption algorithm(s) 참조)

힘내 2.6+ (Q3 2015)는 명시 적 SSL 버전을 지정할 수있을 것입니다 시작 :

http : add support for specifying the SSL version

Elia Pinto (devzero2000)에 의해 commit 01861cb (2015년 8월 14일)를 참조하십시오.
Helped by : Eric Sunshine (sunshineco).
는 (2,015 26 팔월, commit ed070a4Junio C Hamano -- gitster --에 의해 병합)

http.sslVersion 

The SSL version to use when negotiating an SSL connection, if you want to force the default.
The available and default version depend on whether libcurl was built against NSS or OpenSSL and the particular configuration of the crypto library in use. Internally this sets the ' CURLOPT_SSL_VERSION ' option; see the libcurl documentation for more details on the format of this option and for the ssl version supported.
Actually the possible values of this option are:

  • sslv2
  • sslv3
  • tlsv1
  • tlsv1.0
  • tlsv1.1
  • tlsv1.2

Can be overridden by the ' GIT_SSL_VERSION ' environment variable.
To force git to use libcurl's default ssl version and ignore any explicit http.sslversion option, set ' GIT_SSL_VERSION ' to the empty string.

관련 문제