Error: "Activityinvocationfailed"when using TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON Invoking REST API to call SSL Web service by HTTPS: SSLException:Server certificate rejected by ChainVerifier.

Error: "Activityinvocationfailed"when using TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON Invoking REST API to call SSL Web service by HTTPS: SSLException:Server certificate rejected by ChainVerifier.

book

Article ID: KB0093415

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON -
Not Applicable -

Description

Description:
Certificate issue when using the "Invoke REST API" palette to call an SSL Web service by HTTPS. 

Symptoms:
Error log entries from the Designer console. 

 Activity invocation failed
at com.tibco.pe.plugin.Activity.postEval(Unknown Source)
at com.tibco.pe.plugin.Activity.postEval(Unknown Source)
......
caused by: com.sun.jersey.api.client.ClientHandlerException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:120)
at com.tibco.plugin.json.rest.adaptor.RESTReqeustAdaptor.handle(RESTReqeustAdaptor.java:41)
at com.tibco.plugin.json.rest.adaptor.RESTReqeustAdaptor.handle(RESTReqeustAdaptor.java:41)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:81)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
at com.tibco.plugin.json.activities.RestActivity.doGet(RestActivity.java:379)
at com.tibco.plugin.json.activities.RestActivity.doService(RestActivity.java:365)
at com.tibco.plugin.json.activities.RestActivity$1.run(RestActivity.java:309)
at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(Unknown Source)
Caused by: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier
at iaik.security.ssl.g.f(Unknown Source)
at iaik.security.ssl.g.d(Unknown Source)
    ...  more 

Cause:
Caused by security vendor specification. If the Designer has cached the vendor not using j2se,it will throw the Error. 

Issue/Introduction

Error: "Activityinvocationfailed"when using TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON Invoking REST API to call SSL Web service by HTTPS: SSLException:Server certificate rejected by ChainVerifier.

Resolution

1). Add the parameter "java.property.TIBCO_SECURITY_VENDOR=j2se" in your designer.tra file.
2). Restart Designer.

Additional Information

None