Submit a ticketCall us

Putting Your Logs Where They Belong with the New SolarWinds Log Manager for Orion

The new SolarWinds® Log Manager for Orion® finally puts your log data right where it belongs, in the heart of your Orion console. Gain insight into the performance of your infrastructure by monitoring your logs in a unified console allowing you to see a wealth of information about the health and performance of your network and servers.

Reserve a Seat for Wednesday May 23rd 11am CDT | Reserve a Seat for Tuesday May 22nd 10:30am GMT | Reserve a Seat for Tuesday May 22nd 1pm SGT / 3pm AEST

Home > Success Center > Server & Application Monitor (SAM) > Connection failed to url. The underlying connection was closed: Could not establish trust relationship for the SSL-TLS secure channel

Connection failed to url. The underlying connection was closed: Could not establish trust relationship for the SSL-TLS secure channel

Updated April 20, 2017

Overview

The following error is encountered when using the OWA Form Login monitor:

The "Exchange 2010 OWA Form Login (PowerShell)" Application fails with the following error: "Connection failed to URL.  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

Environment

All SAM versions

Cause 

The System.Net.ServicePointManager.ServerCertificateValidationCallback object is disabled in the PowerShell script. 

Resolution

Modify the Windows PowerShell monitor script within the "Exchange 2010 OWA Form Login (PowerShell)" application to enable the System.Net.ServicePointManager.ServerCertificateValidationCallback object from:

#This command set the static property in .NET that causes the error in HTTPS probes.
#[System.Net.ServicePointManager]:ServerCertificateValidationCallback = {$true}

to

#This command set the static property in .NET that causes the error in HTTPS probes.
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

 

Note: A problem in the .NET implementation may cause HTTPS monitors to fail with the following error when the OWA script is used with other HTTPS monitors:

Unexpected error occurred. The underlying connection was closed: An unexpected error occurred on a send.

To prevent this, switch all HTTPS processes to 64-bit mode and keep the OWA PowerShell script running in 32-bit mode:

1. Go to Settings > SAM Settings > Manage Application Monitors.

2. Select the application that contains the HTTPS component and click Properties.

3. Open the Advanced section and set the Platform to run polling job on to x64.

4. Click Submit.

 

 

Last modified

Tags

Classifications

Public