Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Administering Integration Server | Configuring Integration Server for Secure Communications | Using Multiple Client Certificates with SSL Servers | Coding Your Flow Services
 
Coding Your Flow Services
How you code your flow services depends on whether or not you have defined a remote server alias for the SSL server you want to communicate with. If you are using a remote server alias, the alias controls which certificate is presented. With a remote server alias defined, you can use the pub.remote:invoke services in your flow services to run services on the remote server.
If you have not defined a remote server alias, you must code your flow services to handle switching from one certificate to another using Integration Server public services. You can use public services to control the client certificate that the Integration Server will present.
The following table lists the public services that can be used to control which client certificate is presented to an SSL server.
Service
Description
pub.security.keystore:setKeyAndChain
Specifies the key and associated certificate chain to present.
pub.security:setKeyAndChainFromBytes
Specifies the key and associated certificate chain to present, where the information is located in byte arrays (rather than files).
pub.security:clearKeyAndChain
With a set of services, use to revert the key and certificate chain back to their defaults.
pub.security:clearKeyAndChainFromBytes
With a set of services, use to revert the key and certificate chain back to their defaults, where the key and certificate information is located in byte arrays (rather than files).
The above services are described in more detail in the webMethods Integration Server Built-In Services Reference ..