Public bug reported:

[impact
Landscape client registration is fails with the following apache error message.
[Wed Mar 26 15:44:29 2014] [error] Hostname P122C-0-0-15680 provided via SNI 
and hostname p122c-0-0-15680 provided via HTTP are different.

it is because apache2 doesn't compare SNI hostname against Host header 
case-insensitively.
apache2 rejects connection request and returns 400 error code when the SNI 
doesn't match with requested.
http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI
Therefore landscape client registration was failed.

- Precise 12.04 LTS
- apache2 : 2.2.22-1ubuntu1.4

[Test Case]
How reproducible is the problem?
( easily with the test case, intermittent, on every boot, etc)

 1. Create self-signed SSL certificate file with upper case hostname 
 2. curl https://hostname/message-system --cacert xxxx
     a. Actual Results - apache returns 400 Bad request error.
     b. Expected Results - apache should return 200

[Regression Potential] 
none, this has been merged into upstream and well tested. 

[Other Info]
The same issue has been reported to apache upstream and the bug fix was applied 
at Aug 19 2013.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49491
It looks like this patch is not applied to apache2 package for precise yet.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1298273

Title:
   apache2 doesn't compare SNI hostname against Host header case-
  insensitively

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1298273/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to