Getting below error while enabling encryption mode into system.
I have followed below documents for enable encryption.
ERROR :
[ 7] INFO - Retrying Client registration - Remaining time to timeout: 68 - System.Net.Http.HttpRequestException:An error occurred while sending the request.
[ 7] ERROR - ‘ManagementServerSystemConfigurationRegistrar.Execute’ Status = UnspecifiedErrorRegistration - Additional information: The certificate used by the server is not valid. Exception = 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.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
— End of inner exception stack trace —
at VideoOS.CertificateRegistration.Common.ClientEndpointRegistrarBase.RegisterClientWithRetry(Func`1 registerClient, ILogger logger)
at VideoOS.Server.CertificateRegistration.RegistrationIisManagementService.Register(String configFilePath, Uri authorizationServerUri, String secretPath, String clientName, String[] scopes, String appPoolName, ILogger logger)
at VideoOS.Server.CertificateRegistration.RegistrationIisManagementService.RegisterIisManagementService(String iisConfigFilePath, Uri authorizationServerUri, ILogger logger)
at VideoOS.Server.CertificateRegistration.ManagementServerSystemConfigurationRegistrar.Execute(String oldHostName, Uri communicationAddress, Uri authorizationServer, NetworkCredential networkCredential)
Above error has been copied from here this logs.
