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)
303정성태7/20/200620958Team Foundation Server: 12. 사용자 계정 재생성에 따른 Version Control 영향
302정성태8/21/200622783Team Foundation Server: 11. TFS Team Build와 VC++ Project 설정
299정성태7/23/200622479개발 환경 구성: 5. VMWare - VM 생성 화면 캡쳐
300정성태7/15/200627904    답변글 개발 환경 구성: 5.1. VMWare 오류 유형 - The handle is invalid.
301정성태7/18/200622627    답변글 개발 환경 구성: 5.2. VMWare - 사용 후기.
298정성태7/14/200622303개발 환경 구성: 4. VMWare Server를 64bit 운영체제에 설치 시 주의 사항 [2]
296정성태7/10/200631590.NET Framework: 73. [ASP.NET] HTC(DHTML Control Behavior)를 WebResource.axd로 제공하는 방법 [3]
295정성태7/1/200624959VC++: 25. Microsoft National Language Support Downlevel APIs 1.0 사용 방법파일 다운로드1
294정성태6/30/200621429.NET Framework: 72. XSDObjectGen.EXE 기능 개선
293정성태6/29/200623333Team Foundation Server: 10. TFS 버전 컨트롤(TFVC)에 참여시킨 프로젝트의 로컬 경로를 옮기는 방법
290정성태6/26/200620663Team Foundation Server: 9. HTTPS를 통한 Team Server 접근 - 두 번째 이야기 [1]
291정성태6/26/200622053    답변글 Team Foundation Server: 9.1. [선행 작업] HTTPS 를 통한 Team Server 접근 - 두번째 이야기 [1]
292정성태6/26/200621693    답변글 Team Foundation Server: 9.2. TF30177 오류 발생
307정성태8/3/200623663    답변글 Team Foundation Server: 9.3. Team Server 접근 이름을 바꾸는 방법 [1]파일 다운로드1
308정성태2/18/200723366        답변글 Team Foundation Server: 9.4. Team Server HTTPS 접근 완료. ^^ [1]
288정성태6/26/200637865오류 유형: 10. error MSB6006: "aspnet_merge.exe" exited with code 1
286정성태6/23/200625814웹: 4. 웹 사이트 식별자(Identifier) 값 변경
285정성태6/20/200626209오류 유형: 9. [TFS] Report 관련 서비스를 조회할 때 rsErrorImpersonatingUser 오류 메시지 발생 [1]
284정성태6/19/200623845VS.NET IDE: 40. FxCop - IDE 에서 제공해 주는 SuppressMessage 코드
283정성태1/19/200725189Team Foundation Server: 8. 소스 세이프에서 TFS SourceControl 로 마이그레이션 [2]
279정성태12/27/200631124개발 환경 구성: 3. VS.NET 원격 디버깅 [1]
280정성태6/12/200630074    답변글 개발 환경 구성: 3.1. VS.NET 2003 원격 디버깅 설정
281정성태8/11/200631553    답변글 개발 환경 구성: 3.2. VS.NET 2005 원격 디버깅 설정
315정성태8/11/200632184        답변글 개발 환경 구성: 3.3. VS.NET 2005 원격 디버깅 설정 - ASP.NET F5 디버깅
278정성태6/11/200628366오류 유형: 8. [Outlook] 0x8004011D 에러 - "Exchange over the Internet" 환경
276정성태6/7/200621686Team Foundation Server: 7. 외부 빌드 머신 구성
... 181  182  183  184  185  186  187  188  189  [190]  191  192  193  194  195  ...