Skip to content

ssl handshakes and SNI #5

@grantmacken

Description

@grantmacken

Server Name Indentification (SNI)
If a http client does not send server_name as part of the TLS hello handshake then the server will send back the wrong certificate and the host name verification stage will fail. This failure happens when I use the expath httpclient module. Other http clients like curl and openssl (client mode) have ways of setting the server_name

I am pretty sure is what is happening as I could not grep the server_name when I used the expath httpclient module in ssl debug mode in eXistdb
My suggestion is to add some tests for some known SNI served sites

https://sni.velox.ch/
https://www.mnot.net/blog/2014/05/09/if_you_can_read_this_youre_sniing

If they work, when tested with the expath-http-client then I'm wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions