How Do I load an use a client certificate for outgoing SOAP messages

drich
Kilo Explorer

I have tried to create a protocol (xssl) to use my COMODO client certificate (I have tried to use it using .pfx, cer, and JavaKeyStore file formats.

In each case, when I enable mutual authentication, I get an error 500, and a log saying:

SOAP Msg Outbound - SOAPMessageClient : Error executing SOAP request: java.lang.IllegalStateException: unsupported protocol: 'xssl': org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protocol.java:149)

org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:117) ...

I do not need to validate the server cert, but I do need to provide the client cert to the remote server.

Any help would be greatly appreciated.

thanks,

Dave

9 REPLIES 9

Hello,


does someone hase a solution therefore?


I tried to confirgure mutual authentication for Outbound REST messages and have the same error.


I am using Jakarta and going and don't use a MID Server.



Regards,


Sergej


Hello,


find a way by my own.


The name of the protocol name (System Security - Protocol Profiles - unique protocol name) has to be in small letters.



Regards,


Sergej


I cannot believe it was this problem for me. Nowhere in any of the documentation does it stipulate that the protocol name has to be in lowercase, only that it must be unique.

 

Thank you so much for posting this!

Kalyani10
Tera Contributor

I faced the same issue and was running around everywhere not understanding what the issue is, just replacing with lower case letter solved the problem. Thanks a ton. 🙂

Thanks for this.  I don't want to think of how much longer I might have spent troubleshooting this if I hadn't see your mention of the capital letter.