You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/08/03 13:22:44 UTC
DO NOT REPLY [Bug 45528] New: Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
Summary: Tomcat 6 fails to detect a matching certificate and
stuck in an infinite loop
Product: Tomcat 6
Version: 6.0.16
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: avizner@nextnine.com
Created an attachment (id=22351)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22351)
The keystore i use
I'm usind apache-tomcat-6.0.16 with jdk1.6.0_06 (but it was also occur with
jdk1.5.0_16)
I have a .keystore file which doesn’t matches the SSL definitions in the
server.xml(wrong password).
tomcat 4 handled it well – it was unable to connect to it but the logs showed
a friendly messages and the server continue working fine.
However in tomcat 6 when I configured the connectors in the server.xml with
default settings or as" org.apache.coyote.http11.Http11Protocol"
and I started the service, the tomcat get in an infinite loop which holds the
CPU in 90% and keep writing to catalina log the following error:
*************************************************************************
03/08/2008 11:09:37 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No
available certificate or key corresponds to the SSL cipher suites which are
enabled.
at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:150)
at
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:310)
at java.lang.Thread.run(Thread.java:619)
*************************************************************************
When I configure the connectors to work with
“org.apache.coyote.http11.Http11NioProtocol” the problem seems to disappear
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
--- Comment #3 from Mark Thomas <ma...@apache.org> 2008-08-10 10:27:40 PST ---
This has been fixed in trunk and proposed for 5.5.x and 6.0.x.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Catalina |Connector:Coyote
Product|Tomcat 6 |Tomcat 5
Target Milestone|default |---
Version|6.0.16 |5.5.26
--- Comment #6 from Mark Thomas <ma...@apache.org> 2008-09-06 13:06:54 PST ---
The improved patch has been applied to 6.0.x and will be included in 6.0.19
onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 5 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Mark Thomas <ma...@apache.org> 2009-05-24 17:19:40 PST ---
This has been fixed in 5.5.x/4.1.x and will be included in 5.5.28 and 4.1.40
onwards
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 5 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Tomcat 6 fails to detect a |Tomcat 5 fails to detect a
|matching certificate and |matching certificate and
|stuck in an infinite loop |stuck in an infinite loop
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
--- Comment #4 from Mark Thomas <ma...@apache.org> 2008-08-14 03:41:12 PST ---
For the record, neither the alias nor the password appears to be the problem.
The only way I could reproduce the loop of log messages it was to take a valid,
working SSL configuration and set a value for the ciphers attribute that was
not compatible with the certificate Tomcat was using.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
--- Comment #5 from Mark Thomas <ma...@apache.org> 2008-08-20 16:23:22 PST ---
The original patch was rejected. I have just proposed a reworked patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
--- Comment #1 from Assaf Vizner <av...@nextnine.com> 2008-08-03 04:29:02 PST ---
Created an attachment (id=22352)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22352)
The server.xml i use with the connector of Http11Protocol
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45528] Tomcat 6 fails to detect a matching
certificate and stuck in an infinite loop
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45528
--- Comment #2 from Assaf Vizner <av...@nextnine.com> 2008-08-03 04:29:53 PST ---
Created an attachment (id=22353)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22353)
The catalina log
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org