Welcome! Log In Create A New Profile

Advanced

AW: HTTP/2 without forward secrecy (Diffie-Hellman)

Lukas Tribus
August 15, 2016 09:06AM
Hi,


> for a test environment I successfully set up an nginx webserver (1.11.2)
> with HTTP/2.
>
> But for further tests I need to decrypt traffic with wireshark using the
> servers private key.

The way to do this is to use keyfile from your browser, so wireshark is aware of the symmetric key used for the session. See [1] and [2].



> For that I need to disable forward secrecy (since it is only a test
> environment security is not an issue)
>
> So I changed the "ssl_ciphers" in my /sites-enabled/default file from:
>
> ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
> into
> ssl_ciphers "AES128-SHA";

This cannot work, HTTP/2.0 only always certain ciphers [3]. The fact the it works in Apache means Apache violates the RFC.

Also see nginx manual [4].



Regards,

Lukas


[1] https://jimshaver.net/2015/02/11/decrypting-tls-browser-traffic-with-wireshark-the-easy-way/
[2] https://wiki.wireshark.org/SSL
[3] http://http2.github.io/http2-spec/#TLSUsage
[4] http://nginx.org/en/docs/http/ngx_http_v2_module.html#example

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP/2 without forward secrecy (Diffie-Hellman)

Max Meyer August 15, 2016 08:42AM

AW: HTTP/2 without forward secrecy (Diffie-Hellman)

Lukas Tribus August 15, 2016 09:06AM

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

B.R. August 16, 2016 09:58AM

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

Valentin V. Bartenev August 16, 2016 10:06AM

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

Valentin V. Bartenev August 15, 2016 10:00AM

AW: HTTP/2 without forward secrecy (Diffie-Hellman)

Lukas Tribus August 16, 2016 11:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
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