系统已经安装了openssl和openssl-devel,但还是碰到错误:./configure: error: SSL modules require the OpenSSL library. —with-openssl=/usr/local/openssl是不需要指定的,有—with-http_ssl_module 就可以使用https 再安装一遍:yum -y reinstall openssl openssl-devel