|Error Messages While Attempting to Connect to PowerShell Proxy from vRO.|
If the adding the PowerShell host fails with error similar to the following "default realm", check for a misconfiguration of the Kerberos Domain Realm (krb5.conf) configuration file, or a miss-spelling of the login domain suffix.
This error occurs with both Add a PowerShell host and Update a PowerShell host.
Cannot locate default realm (Dynamic Script Module name : addPowerShellHost ... state: ‘failed’, business state: ‘Error’, exception: ‘InternalError: java.net.ConnectException: Connection refused (Workflow:Import a certificate from URL with certificate alias / Validate (item1)#5)’
In changing a service account running the Update a PowerShell host or Add a PowerShell host, you might get an easy error such as a root CA not being recognized. Sometimes you get an error that is less specific. Since it doesn't mention the CA root, it's more likely and untrusted certificate chain, or the connection is reset from a local firewall rule on the PS host/proxy.
A web browser will likely give a ERR_CONNECTION_RESET (Edge) or PR_CONNECT_RESET_ERROR (Firefox).
'Error', exception: 'InternalError: com.vmware.o11n.plugins.configurator.util.CertificateException: Connection reset (Workflow:Import a certificate from URL with certificate alias / Validate (item1)#5)'