I use firefox extensively to access and troubleshoot a myriad of webapps, many of them running on apache virtualhost'ed environments.
One problem I've been having is that on SSL-enabled servers I can't override the hostname to access the correct virtualhost.
With HTTP one could access an IP address with http://1.2.3.4/page.html
and forge the host:
header with different values to access different virtual hosts.
For instance, these are equivalent:
http://my.virtualhost.example.com
http://1.2.3.4
with headerhost: my.virtualhost.example.com
.
With HTTPS this becomes impossible, since the hostname must be known prior to establishing the TLS connection, and thus there isn't a way for apache to know which SSL virtualhost to serve.
A workaround would be to override the Server Name Indication (SNI) field in the TLS ClientHello
request.
Is there any way to override the SNI value with Firefox plugins or extensions?
I'm using Firefox 40 on Windows 7.