Openssl 编译

来自艺搜天下
跳到导航 跳到搜索

Linux

下载最新的OpenSSL http://openssl.org/source/

wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
yum install perl-core zlib-devel
./config -fPIC
make
# 删除 Makefile 里面 install 的 install_docs
make install
/usr/local/ssl/bin/openssl version 或者/usr/local/ssl/bin/opensslversion -a来查看

ARM

参考

https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options

https://www.tecmint.com/install-openssl-from-source-in-centos-ubuntu/