问题描述
尝试使用 alpine 基础映像中的自定义 openssl 配置 Nginx,但它似乎确实选择了放置在 /usr/local/openssl
下的 openssl
Step 20/22 : RUN cd Nginx-${Nginx_VERSION}/ && ./configure ${Nginx_FLAGS} && make && sudo make install
---> Running in 58c8b603c0b7
checking for getaddrinfo() ... found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... not found
checking for OpenSSL library in /usr/local/ ... not found
checking for OpenSSL library in /usr/pkg/ ... not found
checking for OpenSSL library in /opt/local/ ... 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=<path> option.
如果我最终使用 --with-openssl
标志,我需要传递 openssl 的源代码,而我们没有。
我正在尝试将 Nginx 配置为启用 fips,因此手动配置 Nginx 以选择我们构建的 openssl 库,非常感谢任何解决方法/帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)