This article is related to the online help topic for Installing RabbitMQ Certificates.
When setting up the MESSAGING configuration with updated license keys it may be a bit tedious to have to manually edit the configuration and insert the various ADD KEY lines. Luckily, @Scott_Clement created a Powershell Script to make this process less labor intensive. You can download the Powershell Script here.
- After clicking on the link above you will have downloaded a file named UpdateMsgCnf(powershell).zip.
- Unzip that file and copy the file in it's contents to the \Prognosis\Server\Configuration directory.
- Open a Powershell terminal as administrator and navigate to the above directory.
(e.g.. > cd Prognosis\Server\Configuration)
- Run the UpdateMsgCnf.ps1 file. (With Powershell the command could be: ./UpdateMsgCnf.ps1)
- The script will likely prompt you with a Security warning to which you can use the [R] Run once option.
- The script will then ask you to select the type of configuration to generate. In this instance we are generating this for use in the WebUI so we will select the [S] Static Conf option.
- When the script finishes you will have a file located in your \Prognosis\Server\Configuration directory named new_messaging.config. Open that file in Notepad.exe, select all the text and copy it to the clipboard.
- You are now ready to paste the new configuraiton into the MESSAGING configuration of the WebUI.
If this article has helped you please give it a like and select the "Accept Solution" button to help others find the solution.
Regards,
David Kenny
Senior Support Engineer