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 2006/06/21 12:03:02 UTC
DO NOT REPLY [Bug 39850] New: - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
Summary: Need a way to invalidate SSL-session from web
application
Product: Tomcat 5
Version: 5.5.16
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: gjkreeft@hotmail.com
Currently there is no way to invalidate SSL-sessions that have been created for
a web application that use a SSL/TLS Connector. There is a request parameter
(javax.servlet.request.ssl_session) that contains the SSL session-id but there
is no API that gives access to the underlying SSL-session.
Invalidating the SSL-session is important for web application that use SSL
client-authentication. Once a user is logged in to the application with a client
certificate, he will not be logged out until the SSL-session expires.
Tomcat should expose an interface to obtain a particular SSL-session so that it
can be invalidated when a user logs off. Or, even better, SSL-sessions should be
automatically invalidated when a HTTP-session is invalidated.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
------- Additional Comments From fhanik@apache.org 2007-03-29 12:48 -------
I'm not sure I understand, wouldnt simply
response.getInputStream().close() take care of it? javax.ssl doesn't cache
session ids
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
------- Additional Comments From venia@4you.lt 2007-03-29 00:34 -------
Would it be acceptable if I'll try to create a path which will set session
attribute kind of "org.apache.tomcat.ssl.session" with the SSLSession object
(javax.net.ssl.SSLSession)?
We will be able to call invalidate() on that object.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
------- Additional Comments From venia@4you.lt 2007-03-28 01:08 -------
We are also experiencing same problem. This makes client SSL authentication
unreliable and really unusable in enterprise applications. It would be very nice
if Tomcat could solve this problem.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
gjkreeft@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
------- Additional Comments From gjkreeft@hotmail.com 2007-03-28 01:03 -------
The forum exactly illustrates the point I am trying to make. The existing
SSL-session will let the user (or worse, some other user) back in to the
application without really loging in. The only way to prevent this is by closing
all browser windows which will clear the SSL cache on the client side. But of
course we can't expect our users to close all browser windows every time they
log off.
A possible solution is to invalidate the SSL-session on the server side. The
SSL-stack provides methods to find a particular SSL-session and invalidate it.
The problem is that you can't find the right SSLContext from a web application.
I agree that there is no Servlet Specification that specifies this but it would
be nice if Tomcat could solve this problem. The best way to do this would be
invalidating the SSL-session when the HTTP-session is invalidated. That would
make it transparent to the application developer and does not require a
proprietary extension on the Servlet API.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
------- Additional Comments From gjkreeft@hotmail.com 2007-03-29 00:27 -------
Ok, thanks for the quick reply. I do not have a patch (or time to create one)
that implements the automtic invalidation. I agree that changing the behaviour
of Tomcat might break existing apps but that can be fixed by by making this
behaviour configurable.
I still hope this feature will be implemented in future versions of Tomcat
because it is absolutely required when you use client authentication over SSL.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From yoavs@computer.org 2007-03-28 04:09 -------
It's never going to be automated invalidation because that might break existing
apps.
Please understand that WONTFIX is not the same as INVALID. I closed the bug as
WONTFIX because you (neither of you) didn't submit a patch, the issue is an
enhancement and not a bug, and no one else was interested in even commenting on
it in the year plus since it's been opened.
I'm going to close it again as WONTFIX. If you want to reopen it, please do so
only with a working patch attached. I'll be glad to look at said patch and
commit it if applicable or at least discuss it. But please don't reopen this
issue just for the sake of reopening it.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39850] - Need a way to invalidate SSL-session from web application
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=39850>.
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=39850
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From yoavs@computer.org 2007-03-25 15:07 -------
Once approved by the user, an SSL certificate will be considered valid for at
least the duration of the browser session (from
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html). In other words, this
is controlled by the client, not by the server, as other places such as
http://forum.java.sun.com/thread.jspa?threadID=790598&messageID=4498738 note.
That's why there's no Servlet Specification hook to let you do what you want,
unlike with the HTTP session. It's not a Tomcat issue.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org