Enabling encryption getting error

Getting below error while enabling encryption mode into system.

I have followed below documents for enable encryption.

LINK: https://milestonedownload.blob.core.windows.net/files/XProtect%202019%20R1/Manuals%20and%20guides/Advanced%20VMS/Guides%20and%20documents/Certificates%20guide/MilestoneXProtectVMSproducts_CertificatesGuide_en-US.pdf

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.

As this is not related to software development with the MIP SDK, which is the focus of this forum, please ask again in the support community, you should get better help from the partners using the support community.

https://supportcommunity.milestonesys.com

Sure, Thanks for the quick reply.