UntrustedURLConnectionIOException invoking Exception invoking a web service with https and requireClientCertificate

Solution Verified - Updated -

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?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache CXF
    • IIS Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content