.NETLocal Computer
のストレージに証明書をインストールした後も、次のメッセージが表示されます。Trusted Root Certification Authorities
WebRequest
The request was aborted: Could not create SSL/TLS secure channel
ServicePointManager.SecurityProtocol
現在SecurityProtocolType.Ssl3
|が含まれています SecurityProtocolType.Tls
。
SimonDugréの回答https://stackoverflow.com/a/2904963/121968を読んだ後、次のように設定しました。
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
それは大丈夫です。後退した後:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;
それでも問題なく動作します。2つの質問があります:
なぜそれがまだ機能するのですか?キャッシュのようなものはありますか?
また、以前はフラグ
Ssl3
のみで機能し、との両方ではSsl3
機能していなかったのはなぜTls
ですか?