You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Madhavan Kidambi (JIRA)" <ji...@apache.org> on 2014/03/03 08:13:20 UTC
[jira] [Created] (RAMPART-412) SSL mutual Authentication failed
when Require SSL policy configured with the Client Certificate Required as
true.
Madhavan Kidambi created RAMPART-412:
----------------------------------------
Summary: SSL mutual Authentication failed when Require SSL policy configured with the Client Certificate Required as true.
Key: RAMPART-412
URL: https://issues.apache.org/jira/browse/RAMPART-412
Project: Rampart
Issue Type: Question
Components: rampart-policy
Affects Versions: 1.6.2
Reporter: Madhavan Kidambi
Hi,
When we configure a service with Require HTTPS and Client certificate required RamartUtil of version 1.6 does the following check at under validateTransport( Line 1835)
if (((HttpsToken) rpd.getTransportToken()).isRequireClientCertificate()) {
MessageContext messageContext = rmd.getMsgContext();
HttpServletRequest request = ((HttpServletRequest) messageContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST));
if (request == null || request.getAttribute("javax.servlet.request.X509Certificate") == null) {
throw new RampartException("clientAuthRequired");
}
}
Our question is now
1. How to validate Non-servlet requests i.e HTTPConstants.MC_HTTP_SERVLETREQUEST is not set.
Since because of this the policy valdiation always fails even before the valid Client certificate validation happens.
2. Can we know the reason for adding such a validation
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org