I was using the Certify the Web to update a RDS Farm with Split Connection Broker and Gateway via this script
Running the Script on the Connection Broker went fine , but every time I tried to export the Certificate to Gateway and update it I would get
“Get-RDRDServer: The RD Connection Broker Server is not available”
I ran the script on the local Gateway and it worked fine
In the end I had to use the inbuilt Task to change the gateway cert as well as the IIS Website instead of using Set-RDCertificate

