Welcome to Microsoft Q&A!
Thank you for taking the time to provide the details and screenshot.
Based on the information provided, the message “The server’s certificate is unknown” means that the FTP client was able to reach the FTPS server and receive its SSL/TLS certificate, but the client could not establish a trusted certificate chain for that certificate.
Therefore, this warning points primarily to certificate validation/trust, rather than indicating by itself that FTP port 21/990 or the passive FTP ports are blocked.
The most likely cause is that the FTP client cannot validate the certificate presented by the FTPS server back to a trusted root Certificate Authority (CA).
This can happen when:
- A required intermediate CA certificate is missing or not configured correctly on the server.
- The root CA is not trusted on the client computer.
- The hostname used for the FTPS connection does not match the certificate's Common Name (CN) or Subject Alternative Name (SAN).
- The certificate is expired or otherwise no longer valid.
The “Trust this server and carry on connecting?” prompt only allows the client to proceed by trusting the presented certificate. It does not, by itself, confirm that the certificate or certificate chain is valid.
I would like to recommend correcting the certificate trust chain on the FTPS server rather than permanently accepting the unknown certificate in the FTP client.
On the FTP server, please verify that:
- The FTPS service is using the intended server certificate.
- The certificate is valid and has not expired.
- The DNS hostname used by the FTP client matches one of the names in the certificate's CN or SAN.
- The server certificate and any required intermediate CA certificates form a valid chain to a root CA that is trusted by the client.
If the FTP service is hosted in IIS, you can verify the certificate assigned to the FTP site under:
IIS Manager > FTP site > FTP SSL Settings
Please avoid selecting “Always trust this certificate in future sessions” simply to suppress the warning unless you have independently verified the certificate's fingerprint with the FTP server administrator. Permanently accepting the certificate without verifying it could bypass an underlying certificate validation problem.
Moreover, after correcting the server certificate and certificate chain, reconnect using the DNS hostname included in the certificate, rather than an IP address or another alias.
If the certificate and trust chain are configured correctly, the FTP client should be able to validate the server certificate without displaying the Unknown certificate warning.
If the warning continues, compare the SHA-256 fingerprint shown by the FTP client with the certificate fingerprint provided independently by the FTP server administrator. If the fingerprints do not match, do not trust or accept the certificate.
I hope this helps clarify why the warning appears and provides a safe path to resolve the certificate trust issue.
References:
FTP over SSL configuration in IIS
If you find it useful, please click Accept Answer.
Thank you for choosing Microsoft Q&A.