卸载旧版本 OpenSSL
1. apt-get purge openssl
2. rm -rf /etc/ssl #删除配置文件
编译与安装 OpenSSL
prefix 是安装目录,openssldir 是配置文件目录,另外建议安装两次,shared 作用是生成动态连接库。

第一次:

./config --prefix=/usr/local --openssldir=/usr/local/ssl
make depend

make && make install

第二次:
./config shared --prefix=/usr/local --openssldir=/usr/local/ssl

make depend
make clean

make && make install

相关文章:

  • 2021-10-09
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-08-24
  • 2022-12-23
  • 2021-11-26
相关资源
相似解决方案