easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

Build nginx with the last OpenSSL version

Open jmesam opened this issue 10 years ago • 5 comments

Hi, I'm testing the brand new http/2 support (v3.4.0) and it works amazing, but ALPN because it need OpenSSL >= 1.0.2. Currently ee build nginx with OpenSSL 1.0.1f 6 Jan 2014.

ALPN is necessary to negotiate the protocol to use between server and client. If it is not implemented by the TLS lib on your server, the client will only ever talk HTTP/1.1. With ALPN, the client gives the server a list of protocols in its order of preference and the server picks the one it wants, while with NPN the client makes the final choice.

Thank you in advance!

jmesam avatar Jan 06 '16 22:01 jmesam

+1

On Wednesday, January 6, 2016, jmesam [email protected] wrote:

Hi, I'm testing the brand new http/2 support (v3.4.0) and it works amazing, but ALPN because it need OpenSSL >= 1.0.2. Currently ee build nginx with OpenSSL 1.0.1f 6 Jan 2014.

ALPN is necessary to negotiate the protocol to use between server and client. If it is not implemented by the TLS lib on your server, the client will only ever talk HTTP/1.1. With ALPN, the client gives the server a list of protocols in its order of preference and the server picks the one it wants, while with NPN the client makes the final choice.

Thank you in advance!

— Reply to this email directly or view it on GitHub https://github.com/EasyEngine/easyengine/issues/658.

MattyLB avatar Jan 06 '16 22:01 MattyLB

+1

ghost avatar Jan 06 '16 22:01 ghost

+1

lennoxivius avatar Jan 07 '16 01:01 lennoxivius

This is know issue. Its related to our https://github.com/EasyEngine/nginx-build repo. We need to build our own OpenSSL packages to support for ALPN. We are already trying to build our own OpenSSL on our local repo. We will update Mainline repo once we successfully built OpenSSL.

gau1991 avatar Jan 07 '16 07:01 gau1991

We have now built Nginx with OpenSSL 1.0.2e, please update Nginx package to 1.9.9-7ppa so that you will get ALPN support also.

You can use following commands to update Nginx mainline

apt-get update
apt-get install nginx-mainline
service nginx restart

You can test ALPN support on https://tools.keycdn.com/http2-test

gau1991 avatar Jan 11 '16 15:01 gau1991