Welcome! Log In Create A New Profile

Advanced

Nginx + boringSSL

All files from this thread

File Name File Size   Posted by Date  
boringssl_nginx.patch 3.1 KB open | download Alex Hunsaker 07/13/2014 Read message
boringssl_openbsd.patch 1.1 KB open | download Alex Hunsaker 07/13/2014 Read message
Alex Hunsaker
July 13, 2014 10:00PM
I've started playing around with boringssl with nginx.

Mostly everything works except OCSP. Seems like either openssl 1.0.2
which boringssl was forked from does not have it, or the boringssl
folk ripped it out. I have not investigated.

Anyway, I'm please to report everything seems to work!

--
# first boringssl
git clone https://boringssl.googlesource.com/boringssl
cd boringssl
# for when building on openbsd, also enables -O2, boringssl is a debug
build by default
cat boringssl_openbsd.patch | patch -p1 -N -s
mkdir build && cd build && cmake ../ && cd ..
# setup stuff for nginx
mkdir -p .openssl/lib
ln -s include .openssl/
cp build/crypto/libcrypto.a build/ssl/libssl.a .openssl/lib

# now for nginx
tar xvzf nginx-1.6.0.tar.gz
cd nginx-1.6.0
cat ../boringssl_nginx.patch | patch -p1 -N -s
../configure --with-openssl=../boringssl ...
# update timestamp so nginx won't try to build openssl
touch ../boringssl/.openssl/include/ssl.h
make
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - boringssl_nginx.patch (3.1 KB)
open | download - boringssl_openbsd.patch (1.1 KB)
Subject Author Posted

Nginx + boringSSL Attachments

Alex Hunsaker July 13, 2014 10:00PM

Re: Nginx + boringSSL

George July 14, 2014 06:47AM

Re: Nginx + boringSSL

Alex Hunsaker July 14, 2014 04:28PM

Re: Nginx + boringSSL

Harold.Miao July 21, 2014 11:26PM

Re: Nginx + boringSSL

Alex Hunsaker July 28, 2014 06:38PM

Re: Nginx + boringSSL

sopato July 29, 2014 05:52AM

Re: Nginx + boringSSL

Alex Hunsaker July 30, 2014 04:06PM

Re: Nginx + boringSSL

shmick@riseup.net July 30, 2014 11:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 172
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready