OpenSSL 簡介
OpenSSL 是一個安全套接字層密碼庫,囊括主要的密碼算法、常用的密鑰和證書封裝管理功能及SSL協議,並提供豐富的應用程序供測試或其它目的使用。
OpenSSL 安裝
環境:Linux(CentOS 7.4)
1、下載,官網:https://www.openssl.org/,本例使用版本:openssl-1.1.0i.tar.gz
2、解壓:tar -zxvf openssl-1.1.0i.tar.gz
3、進入解壓目錄,配置ruby安裝參數,
命令:./config --prefix=/data/soft/openssl-1.1.0
命令:./config -t
4、編譯,命令:make
5、安裝,命令:make install
6、添加到系統配置
創建文件,命令:vim /etc/ld.so.conf.d/openssl.conf
填入內容(為zlib的安裝路徑):/data/soft/openssl-1.1.0
7、加載配置,執行命令:ldconfig
經過上述步驟,就完成了OpenSSL安裝!
