Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: SSL Error : HostName Provided via SNI & HTTP different |
|
Author |
|
paul613
Joined: 18 Aug 2015 Posts: 1 Location: Ottawa
|
Posted: Tue 18 Aug '15 23:24 Post subject: SSL Error : HostName Provided via SNI & HTTP different |
|
|
hi all,
First time poster here. I have searched the forum on this, found a couple of threads that were similar but not exact. We have our main company url, let's call it main.company.com, and an alias that is used for certain pages, let's call that alias.company.com. Our site runs on http & https, but all http requests are redirected to https
Since upgrading the firmware on our router/firewall at the weekend, users are getting a lot of 'bad request' messages, quite randomly. The weird thing is, they are using the website that exclusively uses the main.company.com url, but we see entries in the apache error log such as:
Hostname main.company.com provided via SNI and hostname alias.company.com provided via HTTP are different
Previously, 'main' and 'alias' were both set up as A records pointing to the same IP. Today, we changed 'alias' to be a CNAME for 'main' but no difference, we get the same errors. We have been going around clearing the browser cache for affected users, but the error comes back.
I have put relevant parts of the various config files here http://apaste.info/ZcE
Let me know if you need to see anything else. Other info:
OS: Ubuntu 12.04.5
Apache: 2.2.22
PHP: 5.3.10
As I say this has only happened since we upgraded the firmware on our router/firewall (a Fortinet 300D), so I'm not sure if something is happening there, but the requests are reaching the server and most of the time they are fine, then (seemingly) randomly, for the same user, the 'Bad Request' message will appear and the above error will be in the apache log.
Thanks in advance for any help/insights,
Paul |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Sat 02 Jan '16 22:51 Post subject: |
|
|
It seems that your firewall is sniffing the traffic and that is why there is an issue.
I would contact the vendor since it worked before t he upgrade. |
|
Back to top |
|
jraute

Joined: 13 Sep 2013 Posts: 188 Location: Rheinland, Germany
|
Posted: Mon 04 Jan '16 8:40 Post subject: |
|
|
Cisco ASA Firewall? |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 04 Jan '16 17:59 Post subject: |
|
|
jraute wrote: | Cisco ASA Firewall? |
He wrote Fortinet 300D |
|
Back to top |
|
jraute

Joined: 13 Sep 2013 Posts: 188 Location: Rheinland, Germany
|
Posted: Tue 05 Jan '16 13:08 Post subject: |
|
|
Sorry, i read over it. |
|
Back to top |
|
|
|
|
|
|