升级OpenSSL v1.0.1e 到 v1.0.2以上版本 2023-01-29 Website News 暂无评论 947 次阅读 #Step 1: 验证当前系统OpenSSL版本,并检查yum中目前有效的版本 ```csharp openssl version ``` ```csharp yum info openssl ``` ```csharp Installed Packages Name : openssl Arch : x86_64 Version : 1.0.1e Release : 57.el6 Size : 4.1 M Repo : installed From repo : base Summary : A general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : OpenSSL Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols. Available Packages Name : openssl Arch : i686 Version : 1.0.1e Release : 57.el6 Size : 1.5 M Repo : base Summary : A general purpose cryptography library with TLS implementation URL : http://www.openssl.org/ License : OpenSSL Description : The OpenSSL toolkit provides support for secure communications between : machines. OpenSSL includes a certificate management tool and shared : libraries which provide various cryptographic algorithms and : protocols. ``` #Step 2: 下载最新版本的OpenSSL,目前1.0.2最新版本是1.0.2u ```csharp cd /usr/local/src wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz tar -xvzf openssl-1.0.2u.tar.gz ``` #Step 3: 如何手动编译和安装OpenSSL ```csharp cd openssl-1.0.2u ./config make depend make make test make install ``` #Step 4: 移动最新安装的OpenSSL文件到系统路径下 ```csharp mv /usr/bin/openssl /root/ ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl ``` #Step 5: 验证最新安装OpenSSL版本 ```csharp openssl version OpenSSL 1.0.2u 20 Dec 2019 ``` 资料来源: https://techglimpse.com/upgrade-openssl-linux-tutorial/ https://webhostinggeeks.com/howto/how-to-install-and-update-openssl-on-centos-6-centos-7/ 标签: SSL, openssl 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭