I have an application that sends Powershell commands to Exchange 2016 over HTTPS. I have set up a new Exchange 2019 server, and Powershell from the same application to the Exchange 2019 server is failing with:
New-PSession: Connecting to remote server myserver.domain.com failed with the following error message: The SSL connection cannot be established. Verify that the service on the remote host is properly configured to listen for HTTPS requests.
I compared the Powershell virtual directories on each server, and confirmed that they are configured the same. I verified that the PowerShell execution policy is set to RemoteSigned on both servers. The new server has a valid SSL certificate. Does anyone have any ideas on what I'm missing?