Comments on: The remote certificate is invalid according to the validation procedure https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure Using Limilabs .net components Mon, 07 Aug 2023 13:25:23 +0000 hourly 1 https://wordpress.org/?v=6.6.5 By: Limilabs support https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-560291 Sat, 13 Jul 2013 09:42:33 +0000 http://www.limilabs.com/blog/?p=1295#comment-560291 In reply to James.

@James,

First make sure you are using correct server address (e.g. imap.gmail.com and not mail.gmail.com), most public servers use correct certificates, not self-signed ones.
I think there is no way to intercept the certificate validation process in Metro apps (StreamSocket class doesn’t allow this). It is possible to workaround this by including the private root and CA certificates in the application, although I haven’t done it personally, so I can’t provide you any details.

]]>
By: James https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-560129 Fri, 12 Jul 2013 19:50:41 +0000 http://www.limilabs.com/blog/?p=1295#comment-560129 there is no such event handler in the MailForWindowsStore.dll. How can I stop this error from a windows store application?

]]>
By: Use SSL with POP3 | Blog | Limilabs https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-11773 Tue, 08 May 2012 18:01:21 +0000 http://www.limilabs.com/blog/?p=1295#comment-11773 […] If you are using self-signed certificates you may encounter this error: The remote certificate is invalid according to the validation procedure. […]

]]>
By: Use SSL with IMAP | Blog | Limilabs https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-11772 Tue, 08 May 2012 18:00:34 +0000 http://www.limilabs.com/blog/?p=1295#comment-11772 […] If you are using self-signed certificates you may encounter this error: The remote certificate is invalid according to the validation procedure. […]

]]>
By: Use SSL with SMTP | Blog | Limilabs https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-11771 Tue, 08 May 2012 17:54:35 +0000 http://www.limilabs.com/blog/?p=1295#comment-11771 […] If you are using self-signed certificates you may encounter this error: The remote certificate is invalid according to the validation procedure. […]

]]>
By: Limilabs support https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-1511 Sat, 05 Nov 2011 10:13:27 +0000 http://www.limilabs.com/blog/?p=1295#comment-1511 In reply to aroy.

@aroy,

It seems you have problem with connection, rather then certificate validation or authentication/authorization.
If it’s Exchange you most likely forgot to turn IMAP on. Please check this blog post for details on how to resole this issue:
http://www.limilabs.com/blog/connection-attempt-failed

]]>
By: aroy https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-1510 Fri, 04 Nov 2011 15:47:32 +0000 http://www.limilabs.com/blog/?p=1295#comment-1510 I’m trying to connect to an Exchange Server. I have bypassed the certificate problems by using the “minimalistic” version described above, with the delegate (s, e) => {e.IsValid = true;}. But I keep getting the message, “No connection could be made because the target machine actively refused it.”

The credentials are definitely correct. Any idea what could be causing the problem?

Thanks.

]]>
By: A connection attempt failed https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure#comment-1509 Mon, 15 Nov 2010 13:26:53 +0000 http://www.limilabs.com/blog/?p=1295#comment-1509 […] The remote certificate is invalid according to the validation procedure […]

]]>