Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPDY breaks DNSSec/TLSA because of wrong TLS certificate reusing #99

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

There is some trouble to enable SPDY on a DNSSec/TLSA protected domain.

Context :
    2 domains, a.example.org and b.example.net
    Hosted behind the same IP
    2 differents TLS certificates, both valid for A and B (eg. *.example.org for both)
    Content on A use content of B (eg. domain sharding, virtual server for isolation…).

SPDY (for speed purpose I guess) currently fetch the content for both domains A 
and B throught the same socket, without TLS renegociation, because A 
certificate is also valid for B domain and contents share the same IP.
But this way, SPDY potentially breaks TLSA validation if B TLSA entry isn’t 
valid for the A certificat.
So currently, SPDY usage is not compatible with valid DNSSec/TLSA usage.

SPDY *must not* choose by itself if it can reuse a certificate or not.
2 differents certificates *must* be use if server administrator declare 2 
differents certificates, even if the IP is the same and/or one certificate 
seems valid for another domain.
Security purpose *must* be a priority on speed purpose.

In this case, SPDY break TLSA, but the current TLS behaviour of SPDY can break 
all others client-side usages of TLS (custom OCSP responders, certificate or 
key pinning, hardcoded server certificate verification…) in case of the SPDY 
« TLS implementation » choices lead to different behaviours or are unaware 
of things than official and standard TLS stacks use.

----

What version/revision number of mod_spdy are you using?

https://github.com/eousphoros/mod-spdy
commit ab03b622681feec912d0f46bb284eb2d38b35948

What version of Apache are you using, and on what operating system?  (Use
`apache2ctl -v` to check.)

Server version: Apache/2.4.10 (Debian)
Server built:   Nov 18 2014 14:21:53

What browser version did you use to access the mod_spdy server?  On what
operating system? What flags was the browser invoked with?  (For
Chrome/Chromium, go to about:version to check.)

Iceweasel 31.3.0esr-1, Debian Testing

Original issue reported on code.google.com by [email protected] on 28 Dec 2014 at 6:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant