Installing RabbitMQ Online with TLS (Advanced) PowerShell
Before you begin the installation, verify that the TLS requirements are met.
To conduct an online with TLS installation, run the commands provided below.
$path = "C:\Program Files\Delinea Software Ltd\RabbitMq Helper\net8.0-windows\Examples"
$username = "<SITE CONNECTOR USERNAME FROM SECRET SERVER>"
$password = "<SITE CONNECTOR PASSWORD FROM SECRET SERVER>"
# Create a PSCredential object to use for the installation
$cred = New-Object System.Management.Automation.PSCredential ($username, (ConvertTo-SecureString -String $password -AsPlainText -Force))
# Insert RabbitMQ Admin User Credentials
$adminUsername = "<User-defined RabbitMQ admin Username>"
$adminPassword = "<User-defined RabbitMQ admin Password>"
# Create a PSCredential object to use for the installation
$adminCredential = New-Object System.Management.Automation.PSCredential ($adminUsername, (ConvertTo-SecureString -String $adminPassword -AsPlainText -Force))
# FQDN which will be used by clients connecting to this RabbitMq host
$fqdn = "localhost";
$certpath = $path;
$pfxCred = Get-Credential -UserName PfxUserName -Message "Enter the PFX password. Username is ignored";
#(the password for the example localhost.pfx certificate is "password1")
#$password = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force
#$pfxCred = New-Object System.Management.Automation.PSCredential ("Ignored", $password)
Install-Connector `
-Hostname $fqdn `
-Credential $cred `
-AdminCredential $adminCredential `
-UseTls `
-CaCertPath "$certpath\localhostca.cer" `
-PfxPath "$certpath\localhost.pfx" `
-PfxCredential $pfxCred `
-Verbose;
There are more switches for this commandlet. For more information, run "get-help install-connector" when inside the helper.
Using a local, non-domain admin account for the installation is required.