Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Loading Trusted Certificates

As explained in Adding 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.

## Signature

    Object loadTrustedCertificates(String trustedCertsFolder, String passwordToSet)

## Description

HTTPS requires the 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 constructs in the function:
    System.getGlobalVariableAsString("BE_GLOBAL_TRUSTED_CA_STORE")
    passwordToSet
    String
| Obfuscated password for the KeyStore.

## Returns

Type | Description
--- | ---
    Object
| The certificate’s KeyStore object

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.