Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Using Universal Messaging, the user should be able to create Two-way SSL authentication (UM authenticates itself via certificate and require IS to authenticate itself with certificate). This article details the steps on creating the two-way SSL connection alias and publish and subscribe messages using webMethods Integration Server.
* openssl genrsa -out diagserverCA.key 2048 * openssl req -x509 -new -nodes -key diagserverCA.key -sha256 -days 1024 -out diagserverCA.pem * openssl pkcs12 -export -name server-cert -in diagserverCA.pem -inkey diagserverCA.key -out serverkeystore.p12 * keytool -importkeystore -destkeystore server.keystore -srckeystore serverkeystore.p12 - srcstoretype pkcs12 -alias server-cert * keytool -import -alias client-cert -file diagclientCA.pem -keystore server.truststore * keytool -import -alias server-cert -file diagserverCA.pem -keystore server.truststore
Once we have generated the client and server keystore files we can configure them in IS and UM as shown below.
Configuring Keystore and Truststore alias in Integration Server:
In webMethods Integration Server, navigate to Security> Keystore page and click on Create keystore alias and enter the below values: Alias: mqttKeystore Type: PKCS12 Provider: SUN Location: Complete path of Client keystore file Password: Client Keystore password
Similarly, create Truststore alias by navigating to Security> Keystore page and click on Create truststore alias and enter the below values: Alias: mqttTruststore Type: JKS Provider: SUN Location: Complete path of Client truststore file Password: Client truststore password
Configuring server certificates in webMethods Universal Messaging: