Enable secure connection of web admin and authentication in broker on IBM ACE 12

What to cover:

Part 1:

Part 1:

To enable username and password security on broker

Step 1:

Open “node.conf.yaml” file location on “C:\ProgramData\IBM\MQSI\components\<broker-name>\node.conf.yaml” in Windows environment. And under section of RestAdminListener uncomment the basicAuth to true and authorizationEnabled to true as seen on below screenshot and then saved the file. By default both are commented.

Step 2:

Execute below commands on console against your broker for following operations as mention.

Step 3:

Restart the broker.

Step 4:

Check broker web admin in browser by request http://<server name>/<broker-port> that it required username and password or not. Login with the username and password you set through command. If not asking then follow whole process from step 1 again may be you miss something.

Part 2:

To enable secure HTTPS connection on broker web admin

Step 1:

Open IBM Key Management tool by typing just IBM Key you will see IBM Key management (Installation1) just click and open it. This tool come along with IBM integration bus from version 10 till now you no need to install this separate.

Step 2:

Click on Key Database File on top menu and then New.

Step 3:

As see in below screenshot p.12 file is generated on my given location.

Step 4:

Open “node.conf.yaml” file location on “C:\ProgramData\IBM\MQSI\components\<broker-name>\node.conf.yaml” in Windows environment. And under section of RestAdminListener uncomment the sslCertificate and put complete path of p.12 file and also uncomment sslPasword and set “adminRestApi::sslpwd” as seen on below screenshot and then save the file. By default both are commented.

Step 5:

Now execute the below command on console against your broker.

Step 6:

Restart the broker.

Step 7:

Check that web admin is working https mode or not.

--

--

Currently working as Full stack Java developer at Contour Software. Working on Java and IBM stack.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adil Abdullah

Currently working as Full stack Java developer at Contour Software. Working on Java and IBM stack.