Hi,
I'm trying to install RAD Manager and Media Ops onto a new DMS. When I run the DMAPP for these items, I get the SSL error below.
The DMA has a certificate signed by our company CA, all the releveant root certificates are correctly installed. When using Chrome to connect to the same DMA, it's happy with the certificate presented.
I have also installed the Digicert and Sectigo intermediate code signing certificates as there were not present previously.
Please advise how I fix this error, or if I can turn off SSL validation?
Thanks
Error
Installation Failed: Skyline.DataMiner.Net.AppPackages.Exceptions.AppPackageInstallationFailedException: Installation of the package RAD Manager version 3.0.0 failed because something went wrong while running the install script: Error triggering entry point Skyline.DataMiner.Net.Automation.AutomationEntryPoint: EXIT: "Exception encountered during installation: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 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.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RAD_Manager.GqiUtils.<ConnectToWebApiAsync>d__3.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at RAD_Manager.GqiUtils.IsGqiDxmEnabled()
at Script.Install(IEngine engine, AppInstallContext context)
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 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.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RAD_Manager.GqiUtils.<ConnectToWebApiAsync>d__3.MoveNext()<---
" ---> Skyline.DataMiner.Net.Exceptions.DataMinerException: Error triggering entry point Skyline.DataMiner.Net.Automation.AutomationEntryPoint: EXIT: "Exception encountered during installation: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 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.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RAD_Manager.GqiUtils.<ConnectToWebApiAsync>d__3.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at RAD_Manager.GqiUtils.IsGqiDxmEnabled()
at Script.Install(IEngine engine, AppInstallContext context)
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 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.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RAD_Manager.GqiUtils.<ConnectToWebApiAsync>d__3.MoveNext()<---
"
at Skyline.DataMiner.Net.AppPackages.AppPackageScript.TriggerEntryPoint(IConnectionInfo connection, AutomationEntryPoint entryPoint)
at Skyline.DataMiner.Net.AppPackages.AppPackageScript.RunWrapped(IConnectionInfo connection, String nameToUse, AutomationEntryPoint entryPoint)
at Skyline.DataMiner.Net.AppPackages.AppPackageInstaller.TriggerInstallScript(String installDirectory, AppInfo appInfo)
--- End of inner exception stack trace ---
at Skyline.DataMiner.Net.AppPackages.AppPackageHelper.InstallApp(String uploadedPackageID)
at SLTaskbarUtility.DmAppUpgradeProgressWindow.<StartInstall>b__30_0()
I'd forgotten to add the HTTPS section to MaintenanceSettings.xml
It works now