You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/04/03 15:23:12 UTC
DO NOT REPLY [Bug 42035] New: - mod_ssl does not grok SHA-256 client certificates (+ fix)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42035
Summary: mod_ssl does not grok SHA-256 client certificates (+
fix)
Product: Apache httpd-2
Version: 2.0.59
Platform: All
URL: http://dominique.quatravaux.org/Apache-mod_ssl-SHA256/
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_ssl
AssignedTo: bugs@httpd.apache.org
ReportedBy: dominique@quatravaux.org
When trying to authenticate against an Apache 2.0.59 server over HTTP/S using
client certificates, things only go smoothly when using MD5- or SHA1-signed
certificates. SHA256-signed certificates cause an error like so:
[Tue Apr 03 15:05:09 2007] [error] Certificate Verification: Error (7):
certificate signature failure
yet the certificate is correct according to "openssl verify".
At the bug's URL you will find a test case with appropriate cryptographic keys
and certificates, a bare-bones httpd.conf, and a Makefile to start the server,
query it twice using "wget" and stop it. The second request uses a SHA-256
certificate, and causes an error 500 (instead of the expected 404), and the
aforementioned error message is written into the error log.
Calling OpenSSL_add_all_algorithms() as part of ssl_init_SSLLibrary() in
ssl_engine_init.c and recompiling Apache solves the problem. My educated guess
is that mod_ssl doesn't know about SHA-256 by default, as no SSL or TLS cipher
uses it.
There appears to be such a call to OpenSSL_add_all_algorithms() in httpd 2.2.4's
init sequence already, although I haven't confirmed that my test case works with
it (I can't seem to get 2.2.4 to compile just now).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42035] - mod_ssl does not grok SHA-256 client certificates (+ fix)
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42035
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From jorton@redhat.com 2007-11-08 07:09 -------
Backport status needs to be tracked in the appropriate STATUS file, not in
bugzilla. Please mail dev@httpd.apache.org if a reminder is needed.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42035] - mod_ssl does not grok SHA-256 client certificates (+ fix)
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42035
------- Additional Comments From dominique@quatravaux.org 2007-04-03 06:35 -------
Created an attachment (id=19901)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19901&action=view)
Patch against httpd-2.0.59 that fixes the issue for me
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42035] - mod_ssl does not grok SHA-256 client certificates (+ fix)
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42035
dominique@quatravaux.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From dominique@quatravaux.org 2007-05-14 01:23 -------
Please also fix it in 2.0.x, this is just a one-line patch. Thanks.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42035] - mod_ssl does not grok SHA-256 client certificates (+ fix)
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42035
marc.stern@approach.be changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From marc.stern@approach.be 2007-05-13 23:51 -------
Fixed in 2.2.4
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org