here's the thing I've enabled mod_http2 ( apachectl -M shows : http2_module ) and set this within this vhost
<VirtualHost *:443>
ServerName s74.fr
Protocols h2 h2c http/1.1
H2Direct on
H2EarlyHints on
Thing is when I run this curl command : I see ALPN offering h2 at the top
But while using a browset or simple website validator, HTTP2 is never used at all ..
Do you guys have any clue on this topic ?
Any remarks, notes, clue, enlightment would be greatly appreciated ;)
curl -v --http2 https://s74.fr
* Connected to s74.fr (91.121.146.195) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: C:\prog\ca-bundle.crt
CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data] ...
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ***ALPN, server accepted to use http/1.1***
* Server certificate:
* subject: CN=s74.fr
* start date: Oct 10 08:02:34 2018 GMT
* expire date: Jan 8 08:02:34 2019 GMT
* subjectAltName: host "s74.fr" matched cert's "s74.fr"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* SSL certificate verify ok.
} [5 bytes data]
> GET / HTTP/1.1
> Host: s74.fr
> User-Agent: curl/7.53.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Date: Fri, 19 Oct 2018 06:32:01 GMT
< Server: Apache/2.4.34 (Debian)
< Upgrade: h2,h2c
< Connection: Upgrade
< Etag: 1539924168
< Last-Modified: Fri, 19 Oct 2018 04:42:48 GMT
< Cache-Control: private
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8