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-ftp Using Limilabs .net components Sun, 23 Oct 2022 17:58:52 +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-ftp#comment-1535 Sun, 05 Jun 2011 20:15:57 +0000 http://www.limilabs.com/blog/?p=1569#comment-1535 @Ronald

> There is NO user interaction, so the addhandler is NOT fired

Event handlers don’t not require user interaction.
Are you sure it’s not fired? Are able to use debugger to check?

We are using this code for self signed certificates in our test environment,
so I’m pretty sure that it works correctly

]]>
By: Ronald https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure-ftp#comment-1534 Wed, 01 Jun 2011 14:49:05 +0000 http://www.limilabs.com/blog/?p=1569#comment-1534 @Support

Aparently it does work the way you described.
I have to add the certificate to the certificate store of IIS.

I will let you know if that will do the trick

]]>
By: Ronald https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure-ftp#comment-1533 Wed, 01 Jun 2011 11:01:02 +0000 http://www.limilabs.com/blog/?p=1569#comment-1533 @Support

I have done that, but i still get the error message.

I think it has something to do with the fact that my web-page (ASPX) runs entirely on de the server (IIS).

There is NO user interaction, so the addhandler is NOT fired, so the certificate is not accepted.

Is there another way I can accompish this?

Regards,
Ronald

]]>
By: Limilabs support https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure-ftp#comment-1532 Mon, 30 May 2011 18:25:07 +0000 http://www.limilabs.com/blog/?p=1569#comment-1532 In reply to Ronald.

@Ronald

1.
Make sure you have add the event handler

2.
Accept the certificate by setting e.IsValid = true.

]]>
By: Ronald https://www.limilabs.com/blog/the-remote-certificate-is-invalid-according-to-the-validation-procedure-ftp#comment-1531 Mon, 30 May 2011 12:52:23 +0000 http://www.limilabs.com/blog/?p=1569#comment-1531 I want to use your FTP component on aspx page that runs entirely on the web server (IIS). The server uses .net 2.0
I have to connect to a remote SSL FTP server that uses a certificate.

I get above error when i try to connect.
I guess that is because the addhandler code is not being executed on the webserver (that only applies to a client (actual person I think).

How can I use your FTP componentL in this way?

]]>