If you may getting an error when you have install or configure any packages as below,

checking for OpenSSL library ... not found

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option.


You want to install the development package, which is libssl-dev or

CentOS, Red Hat, Fedora,
# yum update

# yum install openssl-devel

Debian, Ubuntu:
# sudo apt-get update

# sudo apt-get install libssl-dev