Configure IIS FTP to use a trusted server certificate whose Subject Alternative Name matches the FileZilla host, ensure its issuing chain is installed, and then reconnect using explicit FTPS on port 21.
Correct the IIS FTPS certificate
- On the FTP server, open Internet Information Services (IIS) Manager.
- Expand server name → Sites, and select the FTP site.
- Open FTP SSL Settings.
- Under SSL Certificate, select the intended server certificate.
- Select Require SSL connections if all clients must use FTPS, then click Apply. IIS supports explicit FTPS on port 21; port 990 is for implicit FTPS.^1^
Do not select a certificate merely because it appears in the list. Open it and verify:
- It is currently valid.
- It includes Server Authentication usage.
- Its Subject Alternative Name (SAN) contains the exact DNS name entered in FileZilla, such as
ftp.example.com. - It has an associated private key.
- It chains to a trusted root without errors.
If FileZilla connects by IP address while the certificate covers only a DNS name, change FileZilla to use that DNS name. A different hostname requires a replacement certificate containing that name in its SAN.
Repair the certificate chain
The dialog shows only one certificate in the chain. Check whether the required intermediate CA certificate is missing:
- On the IIS server, run
certlm.msc. - Check these Local Computer stores:
- Personal → Certificates: FTP server certificate with its private key.
- Intermediate Certification Authorities → Certificates: intermediate CA certificate(s).
- Trusted Root Certification Authorities → Certificates: trusted root CA.
- Open the server certificate and inspect Certification Path.
- If the path is incomplete or has an error, obtain the correct intermediate certificate bundle from the certificate authority and install each intermediate under Intermediate Certification Authorities.
- Reopen FTP SSL Settings, reselect the certificate if necessary, click Apply, and restart the FTP site.
Microsoft recommends following the issuing CA’s guidance to install the certificate and choose the most compatible chain when multiple chains are available.^2^
If the certificate shows CERT_E_UNTRUSTEDROOT (0x800b0109), the chain terminates at a root that is not trusted. Also verify that Server Authentication appears in the certificate’s intended purposes.^3^
Configure FileZilla consistently
In FileZilla → Site Manager, use:
- Host: the DNS name covered by the certificate SAN.
- Port:
21. - Protocol: FTP – File Transfer Protocol.
- Encryption: Require explicit FTP over TLS.
When the warning reappears, compare the displayed SHA-256 fingerprint with the fingerprint obtained directly from the server certificate:
- On the server, open
certlm.msc. - Open the bound server certificate.
- Select Details → Thumbprint.
- Compare it through a trusted administrative channel.
Only select Always trust this certificate in future sessions after the hostname, validity, issuer, and fingerprint have been verified. That option stores an exception in that FileZilla client; it does not repair an incorrect IIS binding or incomplete certificate chain.
For an internally issued or self-signed certificate, every client must trust the organization’s root CA. For an Internet-facing service used by unmanaged clients, a certificate from a broadly trusted public CA avoids distributing an internal root certificate.
References