Centos7升级openssl到openssl1.1.1

  • 先查看openssl版本
shell 复制代码
openssl version
shell 复制代码
tar zxvf openssl-1.1.1.tar.gz
  • 配置、编译和安装
shell 复制代码
cd openssl-1.1.1

./config --prefix=/usr/local/openssl

make && make install 
  • 更新系统的OpenSSL链接,首先备份旧版本的openssl二进制文件
shell 复制代码
sudo mv /usr/bin/openssl /usr/bin/openssl.old
  • 创建新的符号链接
shell 复制代码
sudo ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
  • 更新系统库链接
shell 复制代码
echo "/usr/local/openssl/lib" | sudo tee -a /etc/ld.so.conf
sudo ldconfig
  • 查看更新后的版本

    openssl version

相关推荐
orion579 小时前
Missing Semester Class1:course overview and introduction of shell
linux
SkyWalking中文站14 小时前
认识 Horizon UI · 6/17:Trace 探索器
运维·监控·自动化运维
用户1204872216115 小时前
Linux驱动编译与加载
linux·嵌入式
程序员老赵17 小时前
服务器文件不想 SFTP 上传?Docker 跑个 File Browser,浏览器就能管理
服务器·docker·开源
火车叼位17 小时前
写给初级开发者:SSL、SSH、HTTPS 与证书体系全解析
运维
vivo互联网技术21 小时前
从 10 分钟到 1 秒:ES 深度分页任意跳页的三轮优化实战
服务器·数据库·redis·elasticsearch·深度分页
用户805533698031 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698031 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
小猿姐1 天前
唯品会大规模数据库云原生实践:基于 KubeBlocks 管理数千实例的统一运维之路
运维·elasticsearch·云原生