Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Server certificate validation doesn't seem to work #144

Open
glguy opened this issue Sep 6, 2016 · 1 comment
Open

Server certificate validation doesn't seem to work #144

glguy opened this issue Sep 6, 2016 · 1 comment

Comments

@glguy
Copy link

glguy commented Sep 6, 2016

I tried this using HoloIRC as found on the Google Play Store.

This test relies on the fact that while chat.freenode.org and chat.freenode.net both resolve to the same server, Freenode uses a certificate that only matches the .net address.

Certificate chain
 0 s:/OU=Domain Control Validated/OU=Gandi Standard Wildcard SSL/CN=*.freenode.net
   i:/C=FR/ST=Paris/L=Paris/O=Gandi/CN=Gandi Standard SSL CA 2

Reproduce: Attempt to connect to "chat.freenode.org"

Expected behavior: Certificate validation fails

Actual result: Connection succeeds

@julian-klode
Copy link

That's true, the CA check does not validate server names :(

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

No branches or pull requests

2 participants