Storing Trusted Certificates Outside of Your Project
Trusted certificates are used when you configure SSL, such as in an HTTP Connection Reference, JMS Connection Reference, or JDBC Connection Reference.
Trusted certificates can be used to ensure that remote servers are who they claim to be and to ensure that TIBCO BusinessEvents can identify itself as a valid client when connecting to a server.
You can store the certificates within a project folder, or you can use a special global variable,
BE_GLOBAL_TRUSTED_CA_STORE
, to specify the location of an external directory that contains all the certificates known to TIBCO BusinessEvents.
When you store the certificates within a project folder, then when a certificate changes or expires, you must import any new certificates or certificate chains into the project, rebuild the EAR file, and re-deploy your project.
Using the global variable, however, avoids this problem. When you use the global variable to specify the external location of certificates, then when certificates change or expire, replace certificates or add new certificates and then restart the engine to load the changes.
You can set the global variable value and then use the variable in the usual ways, as described in this chapter. For example, you could use the global variable as follows:
tibco.clientVar.BE_GLOBAL_TRUSTED_CA_STORE=file:///somePath/myGTCAFolder