Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

TFS - The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

어느 순간부터 TFS 서버 접속에 실패하는 현상이 발생했습니다.

D:\temp>tf get .. /version:T /force /overwrite /recursive /all
TF400324: Team Foundation services are not available from server testTFS.testad.com\DefaultCollection.
Technical information (for administrator):
  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

There is a problem with this website’s security certificate.
The security certificate presented by this website has expired or is not yet valid.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.  

실제로 TFS 웹 애플리케이션에 할당한 인증서가 만료된 것을 확인할 수 있었습니다.

tfs_cert_expired_1.png

그렇다면 "IIS 관리자"의 "Server Certificates" 화면에서 해당 인증서를 선택 후 우 클릭해 "Renew" 메뉴로 갱신하면 될까요?

인증서 갱신 오류 - The request contains no certificate template information.
; https://www.sysnet.pe.kr/2/0/1011

실제로 시도해 보면 CA 관리 콘솔에 "Pending Requests"가 아닌 "Failed Requests"로 쌓입니다.

Request Disposition Message
    - Error Verifying Request Signature or Signing Certificate

Request Status Code
    - A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. 0x800b0101 (-2146762495 CERT_E_EXPIRED)

왜냐하면, 만료된 인증서는 갱신할 수 없기 때문입니다. 어쩔 수 없이, ^^ 새로 받아야 합니다.

IIS 7 관리자 - Active Directory Certification Authority 로부터 SSL 사이트 인증서 받는 방법
; https://www.sysnet.pe.kr/2/0/1025

그나저나, 귀찮군요. 어차피 내부 테스트 목적인데... 그래서 인증서 템플릿을 추가해서 아예 20년으로 할당해 버렸습니다. ^^

CA 서비스 - 사용자 정의 템플릿 유형 추가
; https://www.sysnet.pe.kr/2/0/533

또는, IIS 8.5부터 생긴 다음의 기능을 이용해보는 것도 좋겠고.

Enable Automatic Rebind of Renewed Certificate
; https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/certificate-rebind-in-iis85




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 5/27/2017]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 181  182  183  184  185  186  [187]  188  189  190  191  192  193  194  195  ...
NoWriterDateCnt.TitleFile(s)
279정성태12/27/200626440개발 환경 구성: 3. VS.NET 원격 디버깅 [1]
280정성태6/12/200625978    답변글 개발 환경 구성: 3.1. VS.NET 2003 원격 디버깅 설정
281정성태8/11/200627444    답변글 개발 환경 구성: 3.2. VS.NET 2005 원격 디버깅 설정
315정성태8/11/200628117        답변글 개발 환경 구성: 3.3. VS.NET 2005 원격 디버깅 설정 - ASP.NET F5 디버깅
278정성태6/11/200624655오류 유형: 8. [Outlook] 0x8004011D 에러 - "Exchange over the Internet" 환경
276정성태6/7/200618208Team Foundation Server: 7. 외부 빌드 머신 구성
287정성태6/24/200615796    답변글 Team Foundation Server: 7.1. 외부 빌드 머신 구성 - 다른 블로그 자료
275정성태6/7/200623635디버깅 기술: 4. VC++ 8.0 원격 디버깅 구성 - Side-by-Side DLL 문제.
269정성태6/6/200620861Team Foundation Server: 6. HTTPS를 통한 Team Server 접근 [1]
270정성태6/5/200617798    답변글 Team Foundation Server: 6.1. HTTPS를 통한 Team Server 접근 [1]
273정성태6/6/200620522    답변글 Team Foundation Server: 6.2. 두번째 방법 - HTTPS 를 통한 Team Server 접근 [1]
267정성태6/4/200619840Team Foundation Server: 5. 인터넷으로 Team Server 접근 [2]
266정성태6/8/200616461오류 유형: 7. [설치] mpoai9.dll 관련 오류
265정성태6/1/200624172디버깅 기술: 3. 원격 컴퓨터 디버깅 - VPC 설정
314정성태8/11/200621199    답변글 디버깅 기술: 3.1. Managed 원격 디버깅과 WinDBG 원격 디버깅
264정성태6/1/200630271오류 유형: 6. [VC++ 컴파일] already defined in ntdll.lib(ntdll.dll)
263정성태6/1/200631258디버깅 기술: 2. 커널 구조체 살펴보기 [5]
262정성태6/1/200623551오류 유형: 5. [설치] WinFX Beta2 - 설치시 문제점 해결
261정성태6/1/200620032웹: 3. IIS 6.0 - AppPool을 활용하여 실 서버(운영 서버)에서 디버깅
258정성태6/1/200627946디버깅 기술: 1. 디버깅 방법 - CLR 프로파일러 [1]파일 다운로드1
274정성태6/7/200620862    답변글 디버깅 기술: 1.1. 디버깅 방법 - CLR 프로파일러 ( on Vista )
254정성태6/1/200617382개발 환경 구성: 2. VPC에 Vista 설치하는 방법 [2]
255정성태6/1/200617055    답변글 개발 환경 구성: 2.1. msconfig 설정과 Windows Activation
259정성태6/1/200616162    답변글 개발 환경 구성: 2.2. Vista VPC에 터미널 서비스 - 원격 접속
253정성태6/1/200614535기타: 14. .NET 2.0 이 지원되는 NDoc 2.0 을 배포합니다.
251정성태6/1/200617504오류 유형: 4. [OS 지원 API] SHParseDisplayName과 Windows 2000
... 181  182  183  184  185  186  [187]  188  189  190  191  192  193  194  195  ...