wolfSSL / wolfssl-nginx

Adds wolfSSL support to Nginx.
https://www.wolfssl.com
33 stars 13 forks source link

cann't work with wolfssl-5.6.0-stable version #21

Closed spacexnasa closed 1 year ago

spacexnasa commented 1 year ago

./configure --with-http_ssl_module --with-wolfssl=/usr checking for OS

./configure: error: Could not find wolfSSL at /usr/include/wolfssl. SSL modules require the wolfSSL library.

has been install wolfssl (enable nginx liboqs )

ubuntu 23.04

ls /usr/include/wolfssl/ callbacks.h certs_test.h crl.h error-ssl.h ocsp.h openssl quic.h sniffer_error.h sniffer.h ssl.h test.h version.h wolfcrypt wolfio.h

kareem-wolfssl commented 1 year ago

Hi @spacexnasa ,

I can't reproduce this with wolfSSL 5.6.0 and nginx 1.21.6. Are you building wolfSSL yourself, or using your distro's wolfSSL package? wolfSSL needs to be built with --enable-nginx to support Nginx, if your distro is not building with this option, you will need to build and install wolfSSL yourself.

spacexnasa commented 1 year ago

Hi @spacexnasa ,

I can't reproduce this with wolfSSL 5.6.0 and nginx 1.21.6. Are you building wolfSSL yourself, or using your distro's wolfSSL package? wolfSSL needs to be built with --enable-nginx to support Nginx, if your distro is not building with this option, you will need to build and install wolfSSL yourself.

ok, i find the problem

git clone --single-branch https://github.com/open-quantum-safe/liboqs.git && cd liboqs git checkout af76ca3b1f2fbc1f4f0967595f3bb07692fb3d82 i lost this step, now it's worked,but some errors on newest nginx-1.25.0,hope your team can path