Mutual Authentication Not working with Third party Application

ARrow2
Giga Contributor

Hi All,

     I have created the Java KeyStore Files using the below commands

         keytool -genkey -alias snow -keyalg RSA -validity 365 -keystore snow.jks -storepass abc123 -keypass abc123
        keytool -export -alias snow -keystore snow.jks -storepass abc123 -file snow.cer

I have imported the snow.jks in the Certificates X509 certs on Servicenow side.

I have imported the Cer file on my Application.

When I tried to execute the rest API call call (Out bound) I am seeing the below error,

REST Msg Outbound - RESTMessageClient : Error executing REST request: unsupported protocol: 'chandrahttps': java.lang.IllegalStateException: unsupported protocol: 'chandrahttps': org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protocol.java:149)
org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:117)
org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280)
org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)

 

I am not able to execute any rest call from ServiceNow to my third party application using Mutual Authentication Can anyone help me with this.

 

Thanks,

Manohar 

   

5 REPLIES 5

Shalini S1
Tera Contributor

Hi  ARrow2

I am facing similar issue as you have posted here, did you find a workaround for this issue? as i dont see solution posted from anyone