Skip to content

Compile Openssl on CentOS 7

Tested on version 3.0.11

Dependencies

To run ./config you need perl, if you don't have it, you can install it with:

On centos7

bash
sudo yum install perl

Get openssl source

Get source here. Or clone it from github

Build

bash
./config --prefix=<OSSL_SIOURCE_DIR>/build --openssldir=<OSSL_SIOURCE_DIR>/build/ssl
make
make install