Maui Blazor 中文社区 QQ群:645660665

Blazor SSR 在Centos7部署 , 使用httpclient提示出错 The SSL connection could not be established, see inner exception.

解决方案

1、查看 OPENSSLDIR 路径

$ openssl version -a
  

2、然后把 CentOS 默认的 openssl CA证书拷贝过来。

$ cp /etc/pki/tls/cert.pem /usr/local/openssl/
 

posted @ 2022-12-09 02:21  AlexChow  阅读(233)  评论(0编辑  收藏  举报