Get IMAP: The remote certificate is invalid according to the validation

I am getting following error on using Get IMAP mail message activity on server. however i am able to run same package successfully on other server. Both the server robots are having same Packages version and activities version.

ā€“
The remote certificate is invalid according to the validation procedure.System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hey @Harnit.singh

If you have an antivirus installed, try disabling it and try again!