On Ubuntu 14.04 NGINX is built with OpenSSL 1.0.1 so is not built with
ALPN support. If you have installed OpenSSL 1.0.2 you can recompile
NGINX to use this and gain the ALPN support.
In most cases HTTP/2 with NPN in OpenSSL 1.0.1 will work for now.
Kind Regards
Andrew
On 03/03/16 12:32, dannydekr wrote:
Since I have the latest version of OpenSSL, I have no idea why this is the
case.
“In most cases HTTP/2 with NPN in OpenSSL 1.0.1 will work for now.”,
yes,
for now, sadly Google will remove the NPN support in Chrome “soon”: “We
plan
to remove support for SPDY in early 2016, and to also remove support for
the
TLS extension named NPN in favor of ALPN in Chrome at the same time.
Server
developers are strongly encouraged to move to HTTP/2 and ALPN.”.
Source: Chromium Blog: Hello HTTP/2, Goodbye SPDY
Thats why we all have to hurry the migration to ALPN by compiling nginx
with
OpenSSL 1.0.2 or LibreSSL.
PS : I can’t find a good reason for Google to drop support for NPN right
now… it feels like last year, when they wanted to drop support of SPDY
in
Chrome when HTTP/2 was barely standardized and no major web server was
HTTP/2 ready.
Thats why we all have to hurry the migration to ALPN by compiling nginx with
OpenSSL 1.0.2 or LibreSSL.
PS : I can’t find a good reason for Google to drop support for NPN right
now… it feels like last year, when they wanted to drop support of SPDY in
Chrome when HTTP/2 was barely standardized and no major web server was
HTTP/2 ready.
If you need http2 there is always the option to compile your own nginx
binary against a more modern version of OpenSSL than what your operating
system provides, or to change operating systems to one which provides
such an OpenSSL version.
If you need http2 there is always the option to compile your own nginx
binary against a more modern version of OpenSSL than what your
operating system provides, or to change operating systems to one which
provides such an OpenSSL version.
Yes, it’s what I’m doing with LibreSSL
But HTTP/2 works also very well with NPN and OpenSSL 1.0.1… sadly
it’ll be
less useful when Google would have dropped support for NPN.