While trying to setup a secure (HTTPS) connection, the following error message is returned.
'Validating connectivity via endpoint '' failed. Details:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.The remote certificate is invalid according to the validation procedure. (System)'
According to your local machine, the server certificate on the remote server is invalid. You have two options:
- Fix the certificate on the remote server.
- Make your local machine explicitly trust the problematic server certificate.