We are using IMAP as an inbound protocol for outlook.office365.com on 993 port.
We are facing issue in ValidateCertificate()
public virtual void ValidateCertificate(object sender, SslCertificateValidationEventArgs e)
{
ValidationResult result;
if (IgnoreCRLCheck)
result = e.Certificate.Validate(e.ServerName, ValidationOptions.SkipRevocationCheck, CertificateChainEngine.LocalMachine);
else
result = e.Certificate.Validate(e.ServerName, ValidationOptions.None, CertificateChainEngine.LocalMachine);
LogMessage.LogInfoProgress("ValidatingCertificate()", "result.Valid:" + result.Valid.ToString() + " Status:" + result.Status.ToString(), EmailQueue);
if (result.Valid)
{
CertificateStatus = true;
e.Accept();
}
else
{
CertificateError = result.Status.ToString();
CertificateStatus = false;
e.Reject();
}
}
CertificateException : Server certificate was rejected by the verifier because of other problem.
Any pointers on this.
Imap Rebex version: 2.0.6026.0