Redgate Monitor 14

Ignoring SSL certificate warnings when generating reports

In order to generate report PDFs, Redgate Monitor connects to its Website service. If a website does not have a valid SSL certificate, this may fail:

The generation of reports for email may also fail, indicated by the following message in the logs:

ERROR RedGate.SqlMonitor.UI.Website.ReportPoller - System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

The workaround is to disable SSL warnings by running the following SQL on the Redgate Monitor repository:

Note: You will need to restart the Redgate Monitor Base Monitor service for the settings change to take effect.

Reporting-IgnoreSSLErrors

USE [RedgateMonitor]
GO

INSERT INTO [settings].[KeyValuePairs]
           ([KeyName]
           ,[KeyValue]
           ,[KeyValueType])
     VALUES ('Reporting-IgnoreSSLErrors','True','BOOLEAN')
GO



Didn't find what you were looking for?