클리엘
CLIEL LAB
클리엘
전체 방문자
오늘
어제
  • 분류 전체보기 (514)
    • Mobile (47)
      • Kotlin (47)
    • Web (84)
      • NestJS (9)
      • HTML5 & CSS3 (38)
      • Javascript (20)
      • TypeScript (6)
      • JQuery (11)
    • .NET (301)
      • C# (84)
      • ASP.NET (67)
      • Windows API for .NET (128)
    • Server (53)
      • SQL Server (10)
      • MariaDB (18)
      • Windows Server (6)
      • node.js (19)
    • System (12)
      • 작업LOG (12)
    • Review (11)
    • ETC (6)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

  • 블로그 정리

인기 글

태그

  • NestJS
  • ASP.NET
  • HTML5
  • node.js
  • asp.net core
  • c#
  • exception
  • Kotlin
  • asp.net core web api
  • jQuery
  • android
  • MariaDB
  • 변수
  • Windows API
  • JavaScript
  • .NET
  • CSS3
  • android studio
  • LINQ
  • Entity Framework

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
클리엘

CLIEL LAB

.NET/ASP.NET

[ASP.NET Core] Microsoft.Data.SqlClient.SqlException (0x80131904)

2021. 8. 3. 16:00
728x90

Linux환경 하에서 작동하는 ASP.NET Core 5 웹서비스에서 Windows Server의 MSSQL Server 접속 시 아래와 같은 오류가 발생하는 경우

 

Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 31 - Encryption(ssl/tls) handshake failed)

 

MSSQL Server에서 TLS1.2 연결이 지원되는지 확인해야 합니다. 해당 문제점이 발생된 사레로는 MSSQL Server 2014 (SP1)이었으며 아래의 가이드에 따라

 

KB3135244 - TLS 1.2 support for Microsoft SQL Server

 

KB3135244 - TLS 1.2 support for Microsoft SQL Server

A subscription to make the most of your time

support.microsoft.com

 

해당 서버에 보안업데이트를 적용하여 문제를 해결할 수 있었습니다.

 

Download Microsoft® SQL Server® 2014 SP1 Latest Cumulative Update from Official Microsoft Download Center

 

Download Microsoft® SQL Server® 2014 SP1 Latest Cumulative Update from Official Microsoft Download Center

Important! Selecting a language below will dynamically change the complete page content to that language. Chinese (Simplified)Chinese (Traditional)EnglishFrenchGermanItalianJapaneseKoreanPortuguese (Brazil)RussianSpanish Download Cumulative Update Package

www.microsoft.com

 

단, 이 문제는 Windows Server 환경에서 ASP.NET Core 5 웹서비스가 동작하는 경우에서는 발생되지 않았습니다. (왜??)

728x90
저작자표시 비영리 변경금지 (새창열림)

'.NET > ASP.NET' 카테고리의 다른 글

[ASP.NET Core] MVC Pattern  (0) 2021.10.31
[ASP.NET Core]IIS Express 인증서 재발행  (0) 2021.10.20
[ASP.NET Core Web API] Swagger에 JWT인증 적용하기  (0) 2021.06.15
[ASP.NET Core] ASP.NET Core API에 ReactJS 배포하기  (0) 2021.06.01
[ASP.NET Core] MailKit 사용  (0) 2021.05.28
    '.NET/ASP.NET' 카테고리의 다른 글
    • [ASP.NET Core] MVC Pattern
    • [ASP.NET Core]IIS Express 인증서 재발행
    • [ASP.NET Core Web API] Swagger에 JWT인증 적용하기
    • [ASP.NET Core] ASP.NET Core API에 ReactJS 배포하기
    클리엘
    클리엘
    누구냐 넌?

    티스토리툴바