IIS Express Development Certificate

smadoros·2023년 5월 11일
0

개발용 인증서(IIS Express Development Certificate)를 적용하여, HTTPS로 서버를 올렸는데, 두 서버끼리 SignalR 연결 시 예외가 발생.

[ERR] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException:
The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

에러 메시지에 따라서 개발용 인증서를 신뢰할 수 있는 인증서로 등록을 해줬고, 연결 문제는 해결됨.

  1. Microsoft Management Console 실행 (실행 : MMC)
  2. 파일 > 스냅인 추가 > 인증서 추가 (로컬 컴퓨터), 인증서 추가(현재 사용자)
  3. 콘솔 루트 > 인증서 > 신뢰할 수 있는 루트 인증 기관 > 인증서 > (우클릭:가져오기) > 적용할 인증서 선택

참고
https://learn.microsoft.com/ko-kr/troubleshoot/developer/visualstudio/installation/warnings-untrusted-certificate

profile
Study; Log;

0개의 댓글