edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
[FTPS Only] Certificate used to validate the certificate presented by the server.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version:


public SSLFTPCertificate ServerValidationCertificate { get; set; }
Visual Basic
Public Property ServerValidationCertificate As SSLFTPCertificate
Visual C++
property SSLFTPCertificate^ ServerValidationCertificate {
	SSLFTPCertificate^ get ();
	void set (SSLFTPCertificate^ value);


If the server certificate is signed by a valid Certificate Authority, this property need not be set, as it can be validated using the existing CA certificates controlled by Windows. If the certificate is self-signed (e.g. for testing) then it can't be validated unless it is imported into the trusted CA authorities certificate store. The alternative is to set this property, typically, to a copy of the server's certificate. If set, the certificate sent by the server is compared with this certificate. If they don't match, validation fails (even if the server's certificate is signed by a CA).

See Also