异常信息 The SSL connection could not be established, see inner exception ---> AuthenticationException: The remote certificate is invalid according to the validation procedure 背景 吐血大坑 N小时奋斗 issues 证书问题 原因不详 using (var client = new HttpClient()) { clie
之前遇到一个问题 https://www.cnblogs.com/leoxjy/p/10201046.html 在centos 7.x HttpClient访问会出问题 The SSL connection could not be established, see inner exception 最后彻底解决是进入容器docker 那么 最近又翻墙搜到一个解决方案 可以systemctl 运行的时候也不会 SSL 上代码 var httpClientHandler = new HttpCl