The proper file url format for Global Variable"BW_GLOBAL_TRUSTED_CA_STORE"
book
Article ID: KB0078720
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON
2.0.0, 2.1.0
Description
When customer try to make HTTPS call by using REST JSON Plugin "Invoke REST API" activity. They might need to create Global Variable"BW_GLOBAL_TRUSTED_CA_STORE" in project to specify the folder with required customized server certificates.
Sometimes the "Invoke REST API" activity is unable to find out the certificate folder due to incorrect file url format for Global Variable"BW_GLOBAL_TRUSTED_CA_STORE". Customer might encounter issue like below: ============ "Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" ============
Issue/Introduction
The proper file url format for Global Variable"BW_GLOBAL_TRUSTED_CA_STORE"
Environment
Operation Systems: All
Resolution
In Windows, the proper file url should be like below, note there are three slashes: ============ file:///c:/tibco/certs ============
In Liunx/Unix, the proper file url should be like below, note there are four slashes: ============ file:////opt/tibco/certs ============