PeterLee.KR
Today
Literature
Dance
Public_Administration
Programming
programming
Easy Pay System
Paypal
Something else here
Carpentry
Chronology
Tanzmate
Cntanz
Search
Edit
Back to List
EasyPayModel
ID
Date
Target
Title
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;
Back to List