I repeated the following using SLES and OS X. I compiled apache 2.4.18, nghttp2-1.8.0 and OpenSSL 1.0.2g and using a recently built version of curl it appears everything is working fine.
curl https://macbookpro.xxxx/ --cacert /usr/local/apache2/conf/ssl/server.crt --verbose
Output from the above shows the connection upgrading to http/2 and the Apache access logs report:
192.168.0.1 - - [20/Mar/2016:15:12:05 +0000] "GET / HTTP/2" 200 45
The certificate chain is all locally generated. With a root, intermediary and server certificates and the following commands report everything is OK
openssl s_client -connect macbookpro:443 -CAfile /usr/local/apache2/conf/ssl/server.crt
However I just cant get any of my browsers Safari/Firefox or Chrome to utilise http/2.
- Firefox 45.01 (with spdy indicator extension)
- Safari 6.2.8 (8537.85.17.9.1)
- Google Chrome 49.0.2623.87 (64-bit)
The page displays fine, but firefox's spdy indicator extension shows nothing. The access logs all report HTTP/1.1 connections. How do I get http2 working?