SECURE_HOSTNAME (FTP client) statement
Use the SECURE_HOSTNAME statement to specify whether the client verifies the host name in the server's certificate.
The statement is ignored for sessions that are not protected by the TLS security mechanism.
Syntax
Parameters
- REQUIRED
- Specifies that the host name that the client is connecting to is verified against the server's certificate. Either the common name or the subject alternate name contained in the server's X.509 certificate is used to validate the host name. If the verification fails, the connection is terminated.
- OPTIONAL
- Specifies that the host name is not validated. This is the default.