To enable access to broker resources through the web user interface, configure the IBM® Integration Bus web user interface server.
To configure a web user interface server, complete the following steps:
If you are using HTTP, set Enabled to true, set Enabled SSL to false, and enter a value for the HTTP Port.
If you are using HTTPS, set Enabled to true, set Enabled SSL to true, and enter a value for the HTTPS Port.
To set additional parameters for the HTTPS protocol, you must use the command-line interface. For more information, see Parameter values for the webadmin component.
mqsichangeproperties brokerName
-b webadmin -o HTTPConnector -n port -v portValue
mqsichangeproperties brokerName
-b webadmin -o HTTPSConnector -n port,keystoreFile,keystorePass
-v portValue,fileName,password
For more information about the properties that can be set for the HTTPConnector and HTTPSConnector objects, see Parameter values for the webadmin component.
mqsireportproperties brokerName
-b webadmin -o HTTPConnector -a
mqsireportproperties brokerName
-b webadmin -o HTTPSConnector -a
HTTPConnector
uuid='HTTPConnector'
address=''
port='4144'
maxPostSize=''
acceptCount=''
compressableMimeTypes=''
compression=''
connectionLinger=''
connectionTimeout=''
maxHttpHeaderSize=''
maxKeepAliveRequests=''
maxThreads=''
minSpareThreads=''
noCompressionUserAgents='
restrictedUserAgents=''
socketBuffer=''
tcpNoDelay=''
enableLookups='false'
mqsichangeproperties brokerName
-b webadmin -o server -n enabled,enableSSL -v true,false
mqsichangeproperties brokerName
-b webadmin -o server -n enabled,enableSSL -v true,true
For more information about the properties of the web user interface server, see Parameter values for the webadmin component.
mqsireportproperties brokerName -b webadmin -o server -a
This
command produces a response similar to this example:server=''
uuid='server'
enabled='true'
enableSSL='true'
You can enable and disable compression by using the mqsichangeproperties command. When you enable compression, you must use the mqsichangeproperties command to turn on compression and set the file types to be compressed.
mqsichangeproperties brokerName -b webadmin -o HTTPConnector -n compression -v on
mqsichangeproperties brokerName -b webadmin -o HTTPConnector -n compressableMimeTypes
-v \"text/html,text/css,application/javascript,image/gif,image/png,application/json\"
mqsireportproperties brokerName -b webadmin -o HTTPConnector -r
...
compressableMimeTypes='text/html,text/css,application/javascript,image/gif,image/png,application/json'
compression='on'
...
If you are using SSL, change the properties for HTTPSConnector rather than HTTPConnector.