Molio-tan commented on issue #5571: URL: https://github.com/apache/apisix/issues/5571#issuecomment-977391752
> >  > > `ssl.so`, not `ssl.lua`. Sorry for my mistake. There is the output of the `ldd`:  By the way, I almost installed the OpenResty with GmSSL by this Dockerfile ``` FROM centos:7 WORKDIR /usr/local/gm-openresty # 安装所需依赖包 RUN yum -y install perl make gcc gcc-c++ libstdc++-devel pcre-devel zlib-devel net-tools pcre wget && \ yum clean all && \ wget https://www.gmssl.cn/gmssl/Tool_Down?File=gmssl_openssl_1.1_b4.tar.gz && tar xzfm Tool_Down?File=gmssl_openssl_1.1_b4.tar.gz -C /usr/local && \ wget https://openresty.org/download/openresty-1.19.3.1.tar.gz && tar xzfm openresty-1.19.3.1.tar.gz && \ ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.3 RUN sed -i 's#$OPENSSL/.openssl/#$OPENSSL/#p' /usr/local/gm-openresty/openresty-1.19.3.1/bundle/nginx-1.19.3/auto/lib/openssl/conf && \ cd openresty-1.19.3.1/ && \ ./configure \ --without-http_gzip_module \ --with-http_ssl_module \ --with-http_stub_status_module \ --with-http_v2_module \ --with-file-aio \ --with-openssl="/usr/local/gmssl" \ --with-cc-opt="-I/usr/local/gmssl/include" \ --with-ld-opt="-lm" && \ make install && \ rm -rf /usr/local/gm-openresty/* && \ ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && \ ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log # Add additional binaries into PATH for convenience ENV PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin EXPOSE 80 443 CMD ["/usr/bin/openresty", "-g", "daemon off;"] # Use SIGQUIT instead of default SIGTERM to cleanly drain requests # See https://github.com/openresty/docker-openresty/blob/master/README.md#tips--pitfalls STOPSIGNAL SIGQUIT ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
