일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- convert
- C#
- logging
- WPF
- windows10
- algorithm
- File
- Process
- IValueConverter
- csharp
- tls
- programmers
- Visual Studio
- Coding
- commit
- Github
- Binding
- windows
- nullable
- git
- string
- 코딩테스트
- log
- dotNET
- Microsoft
- ListView
- mysql
- chashtag
- coding-test
- .net
Archives
- Today
- Total
목록error (1)
CHashtag
[C#] 요청이 중단되었습니다. ssl/tls 보안 채널을 만들 수 없습니다 해결법
안녕하세요. 오늘은 "요청이 중단되었습니다. ssl/tls 보안 채널을 만들 수 없습니다" 라는 에러를 해결할 수 있는 방법에 대해 알아보도록 하겠습니다. web request를 보내기 전에 아래 코드를 추가하면 됩니다. if (requestMessage.RequestUri.Scheme == Uri.UriSchemeHttps) { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; } 감사합니다.
C#
2021. 2. 22. 20:20