Hi,
What exactly is failing? I just linked OpenResty against OpenSSL 1.1.1b
and did not see any noticeable failures in the ngx_lua test suite
(except a couple of expected ones due to ssl_session_fetch and ssl_store).
As long as you do not need to use ssl_session_fetch_by_lua* and
ssl_session_store_by_lua*, you should be able to link OpenResty with
OpenSSL 1.1.1 like so:
Configure OpenSSL as such (feel free to tweak the options, but preserve
the 'shared' one):
./config --prefix=/usr/local/opt/ \
--openssldir=/usr/local/opt/ \
shared \
enable-ssl3
make
make install_sw
And compile OpenResty as such:
./configure --prefix=/usr/local/opt/openresty \
--with-cc-opt="-I/usr/local/opt/include" \
--with-ld-opt="-L/usr/local/opt/lib -Wl,-rpath,/usr/local/opt/lib" \
--with-http_ssl_module
make
make install
Again, feel free to tweak options at your convenience.
In the OpenResty packages, we need to upgrade our custom patches for
OpenSSL 1.1.1 before bumping the officially supported version (again,
due to the two aforementioned ngx_lua callbacks that require these patches).
Best,
Thibault
On 3/5/19 2:33 AM, phan...@gmail.com wrote:
> Dear Yichun,
>
> I can compile OpenResty 1.15.8.1 RC1 from source in my macOS 10.14.2
> (Mojave).
>
> My system use OpenSSL 1.0.2q.
> I still looking for how to compile with OpenSSL 1.1.1 to use TLS 1.3.
> I have tried but fail.
>
> Best regards,
> Phanu C. .