UntrustedURLConnectionIOException invoking Exception invoking a web service with https and requireClientCertificate
Issue
- We are currently calling a web service, which is a SOAP service with Transport binding and has
<sp:HttpsToken RequireClientCertificate="true"></sp:HttpsToken>, this service is hosted on IIS server, when trying to connect from CXF , we are getting
Caused by: org.apache.cxf.transport.http.UntrustedURLConnectionIOException: UntrustedURLConnectionIOException invoking https://<host>:<port>/Service1.svc: RequireClientCertificate is
set, but no local certificates were negotiated. Is the server set to ask for client authorization?
- We tried to dig into more details and we found this article and a bug, which is related, https://issues.apache.org/jira/browse/CXF-5525.
Environment
- Red Hat JBoss Fuse
- 6.x
- Apache CXF
- IIS Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
