SecureFTPConnectionServerValidationCertificate Property |
[FTPS Only] Certificate used to validate the certificate presented by the server.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic SSLFTPCertificate ServerValidationCertificate { get; set; }
Public Property ServerValidationCertificate As SSLFTPCertificate
Get
Set
public:
property SSLFTPCertificate^ ServerValidationCertificate {
SSLFTPCertificate^ get ();
void set (SSLFTPCertificate^ value);
}
member ServerValidationCertificate : SSLFTPCertificate with get, set
Property Value
Type:
SSLFTPCertificate
Remarks
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