Loading Trusted Certificates
As explained in Add an HTTP Connection, ensure that certificates from trusted certificate authorities are stored in the project, using an Identity resource in the TIBCO Shared Resources folder. Alternatively use the BE_GLOBAL_TRUSTED_CA_STORE global variable to store a location of the certificates outside of the project.
Description
HTTPS requires use of an SSL certificate. This function loads a trusted certificate (that is, creates and returns a keystore object) from the trusted certificates folder.
Parameters
Name | Type | Description |
---|---|---|
trustedCertsFolder |
String |
The project path to the folder containing the certificates. If trusted certificates are stored outside the project, use the following construct in the function: System.getGlobalVariableAsString("BE_GLOBAL_TRUSTED_CA_STORE") |
passwordToSet |
String |
Obfuscated password for the keystore. |
Copyright © TIBCO Software Inc. All Rights Reserved.