Bug 1072310 - HTTPS connector doesn't request certificate despite verify-client="want"
Summary: HTTPS connector doesn't request certificate despite verify-client="want"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR6
: EAP 6.3.0
Assignee: Rémy Maucherat
QA Contact: FIlip Bogyai
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1071331
TreeView+ depends on / blocked
 
Reported: 2014-03-04 11:07 UTC by FIlip Bogyai
Modified: 2015-12-01 05:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:39:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1049919 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1049919

Description FIlip Bogyai 2014-03-04 11:07:44 UTC
HTTPS web connector can be configured to use 2-way SSL with attribute "verify-client". According to documentation: Set to "want" if you want the SSL stack to request a client Certificate, but not fail if one is not presented.

When user with valid/invalid certificate is trying to connect to unsecured resource, certificate should be requested when verify-client="want". But certificate is requested only if user try to connect to secured resource, which is the same behavior as verify-client="false".

Comment 1 Jean-frederic Clere 2014-03-06 09:13:34 UTC
If you use HttpClient to test I think you can differentiate  want an true: the connector is going to give the certificate via the first steps of the SSL dialogue or through a renegociation so a part timing there is no differences.

Comment 2 FIlip Bogyai 2014-03-06 10:24:06 UTC
I have used browser- Firefox to test this behavior. When I use EAP 6.3.0.DR1 (before JBoss Web upgrade) and try to connect to unsecured resource on connector with settings verify-client="want", the client certificate is requested. If I use EAP 6.3.0.DR2 (with new JBoss Web 7.4.0.Beta4) and try to connect to unsecured resource on same connector, the client certificate is not requested. I see this as a regression. 

Reference to documentation: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Security_Guide/index.html#SSL_Connector_Reference1

Comment 3 Jean-frederic Clere 2014-03-11 10:16:49 UTC
fixed by r2379

Comment 4 Jean-frederic Clere 2014-03-11 10:50:59 UTC
well by r2380 in fact.

Comment 5 Jean-frederic Clere 2014-03-17 20:38:05 UTC
It requires a new tag of jbossweb.

Comment 6 Vladimir Dosoudil 2014-04-01 09:09:52 UTC
JBoss Web upgraded to 7.4.0.Final, see BZ#1077643.

Comment 7 FIlip Bogyai 2014-04-01 09:26:34 UTC
Verified on EAP 6.3.0.DR6


Note You need to log in before you can comment on or make changes to this bug.