I'm having problems accessing a webserver using SSL. It works fine without it, but when I set FTPWebRequest.EnableSSL = True, I get the following error:

"The remote certificate is invalid according to the validation procedure"

The FTP server I'm trying to connect to does not require the client to have a certificate. It issues it's own certificate. Does anyone know what I have to do to get this to work?