To access a secure WebSphere® Service Registry and Repository (WSRR) repository, set the configuration parameters by using the mqsichangeproperties command.
You must connect over HTTPS, not HTTP, which is specified in the endpointAddress configuration parameter of the default WSRR profile, DefaultWSRR. The endpointAddress configuration parameter must specify the domain qualified host name and port of your WSRR server.
For more information about the endpointAddress configuration parameter, see Configuration parameters for the WebSphere Service Registry and Repository nodes.
To access a secure WebSphere Service Registry and Repository, enter the following sequence of commands:
mqsireportproperties IB9NODE -c ServiceRegistries -o DefaultWSRR -r
where:
-c specifies the configurable service (in this case, ServiceRegistries)
-o specifies the name of the object (in this case, DefaultWSRR)
-r specifies that all property values of the object are displayed, including the
child values, if appropriate.
mqsichangeproperties IB9NODE -c ServiceRegistries -o DefaultWSRR
-n endpointAddress
-v https://localhost:9443/WSRR6_1/services/WSRRCoreSDOPort
where:-c specifies the configurable service (in this case, ServiceRegistries)
-o specifies the name of the object (in this case, DefaultWSRR)
-n specifies the names of the properties to be changed
(in this case, endpointAddress)
-v specifies the values of properties defined by the -n parameter
(in this case, https://localhost:9443/WSRR6_1/services/WSRRCoreSDOPort)
BIP3680S: The following error was returned by WSRR: 'GSR0166E: An error occurred while trying to invoke the Web service
ensure
that you are using the correct domain qualified host name in the endpointAddress in
the DefaultWSRR configurable service.For information about the specific levels of WSRR that are supported with IBM® Integration Bus, see IBM Integration Bus Requirements.
mqsireportproperties IB9NODE -o BrokerRegistry -r
where:
-o specifies the name of the object (in this case, BrokerRegistry)
-r specifies that all property values of the object are displayed, including the
child values, if appropriate.
mqsichangeproperties IB9NODE -o BrokerRegistry
-n brokerKeystoreFile -v C:\WSRR\SSL\ClientKeyFile.jks
where:-o specifies the name of the object (in this case, BrokerRegistry)
-n specifies the names of the properties to be changed (in this case, brokerKeystoreFile)
-v specifies the values of properties defined by the -n parameter
(in this case, C:\WSRR\SSL\ClientKeyFile.jks)
mqsichangeproperties IB9NODE -o BrokerRegistry
-n brokerTruststoreFile -v C:\WSRR\SSL\ClientTrustFile.jks
where:
-o specifies the name of the object
(in this case, BrokerRegistry)
-n specifies the names of the properties to be changed
(in this case, brokerTruststoreFile)
-v specifies the values of properties defined by the -n parameter
(in this case, C:\WSRR\SSL\ClientTrustFile.jks)
mqsisetdbparms IB9NODE -n DefaultWSRR::WSRR -u wasuser -p waspass
where:
-n specifies the name of the data source
(in this case, DefaultWSRR::WSRR)
-u specifies the user ID to be associated with this data source (in this case, wasuser)
-p specifies the password to be associated with this data source (in this case, waspass)
mqsisetdbparms IB9NODE -n brokerKeystore::password -u dummy -p WebAS
where:
-n specifies the name of the data source (in this case, brokerKeystore::password)
-u specifies the user ID to be associated with this data source (in this case, dummy)
-p specifies the password to be associated with this data source (in this case, WebAS)
mqsisetdbparms IB9NODE -n brokerTruststore::password -u dummy
-p WebAS
where:
-n specifies the name of the data source (in this case, brokerTruststore::password)
-u specifies the user ID to be associated with this data source (in this case, dummy)
-p specifies the password to be associated with this data source (in this case, WebAS)