The
topic How
to use FTPS (introduction) describes
the FTPS features of SSLFTPClient. This topic demonstrates
the use of FTPS with
server validation in the
case where the server certificate's CommonName (CN) is the same as its
address.
Firstly,
the root certificate (the certificate of the CA that issued the
certificate) must be loaded. Alternatively, the server certificate itself can be
loaded. The PEM format is widely used, and loading a
PEM certificate is shown below: