code.google.com certificate error: certificate is for www.google.com

2095 단어 certificate
때때로 우리는 아래의 오류에 부딪힐 수 있다: 코드.google.comcertificate error:certificate is for www.google.com
D:\>go get code.google.com/p/go-charset # cd .; hg clone -U https://code.google.com/p/go-charset d:\mycodes\golang\src\code.google.com\p\go-charset abort: code.google.com certificate error: certificate is for www.google.com (configure hostfingerprint a9:89:3c:56:04:8b:0f:2c:84:6c:41:06:92:73:5a:92:e9:8e :17:ad or use --insecure to connect insecurely) package code.google.com/p/go-charset: exit status 255
 
해결 방법:
http://www.cnblogs.com/slider/archive/2012/03/06/2381448.html
다음 명령을 사용하여 다운로드하십시오.
hg clone http://code.google.com/p/go-charset

우리는 여기에서 https를 가지 않고 http를 바꾸면 이 문제를 해결할 수 있다.
Google의 모든 도메인을 특수한 IP를 통해 접근하기 때문에 Mercurial 도구를 최신 버전으로 업그레이드하면 이 문제를 해결할 수 없습니다.
D:\>hg version Mercurial Distributed SCM (version 3.1.2) (see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
D:\>hgversion 분산 소프트웨어 구성 관리 도구 - 수은(버전 3.2)(seehttp://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

좋은 웹페이지 즐겨찾기