陈银山 发表于 2017-12-28 21:34:38

请求被中止: 未能创建 SSL/TLS 安全通道,以及解决方法,即:Could not create SSL/TLS secure channel

  C# 访问https请求被中止: 未能创建 SSL/TLS 安全通道(Could not create SSL/TLS secure channel)
  以及
  X509Certificate2 tempSignCert = new X509Certificate2(HttpContext.Current.Server.MapPath("cert/20050104.p12"), "123456");
  报:
  “System.Security.Cryptography.CryptographicException”类型的异常在 mscorlib.dll 中发生,但未在用户代码中进行处理
  其他信息: 出现了内部错误。
  等问题,解决方法是:IIS-》应用程序池-》高级设置-》进程模块-》加载用户配置文件,设置为True就可以了。
  曾经为这个问题,折腾了好长时间。
页: [1]
查看完整版本: 请求被中止: 未能创建 SSL/TLS 安全通道,以及解决方法,即:Could not create SSL/TLS secure channel