yum update
yum install wget tar make gcc perl pcre-devel zlib-devel
wget https://www.openssl.org/source/openssl-1.服务器托管网1.1l.tar.gz
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l
./config –prefix=/usr –openssldir=/etc/ssl –libdir=lib no-shared zlib-dynamic
make
make install
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
echo “export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64” >> ~/.bashrc
openssl version
就可以看到已经升级为OpenSSL 1.1.1了
openssl version -a
cp /etc/pki/tls/cert.pem /usr/local/openssl/
OPENSSLDIR: “/etc/ssl”
ENGINESDIR: “/usr/lib/engines-1.1”
报错信息:The SSL connection could not be establishe服务器托管网d, see inner exception.
看起来是SSL的问题,查了下资料和服务器安装了 OpenSSL 有关,直接拷贝一份证书过去,问题即可解决,执行以下linux命令即可:
cp /etc/pki/tls/cert.pem /usr/local/openssl/
然后重启你的.net core应用即可。
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/117136503
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
目录 1. 版本记录…………………………………………………………………………….. 4 2. 引言…服务器托管网…………..…