Li

Delete

Are you sure you want to delete this?

EasyPayModel


Date
20211007
Target
C_011
Title
Error - The request was aborted: Could not create SSL/TLS secure channel.
Contents
https://temp.tanz.co.kr/paymentmethod/toss/tosspay.aspx 를 실행하니 생기는 에러. 구글링해보니 https://kevinchalet.com/2019/04/11/forcing-an-old-net-application-to-support-tls-1-2-without-recompiling-it/ 가 답인 듯. 출처 : https://www.codeproject.com/Questions/1255767/Could-not-create-SSL-TLS-secure-channel 아래내용을 .cs에 추가하였다. ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; ServicePointManager.ServerCertificateValidationCallback = (snder, cert, chain, error) => true;