Issue to FTP SSL

Jonathan 480 Reputation points
2026-10-30T03:34:23.4433333+00:00

Hi,

How to resolve it below regarding FTP SSL?

User's image

Windows for business | Windows Server | Directory services | Certificates and public key infrastructure (PKI)
0 comments No comments

2 answers

Sort by: Newest
  1. AI answer

    2026-10-30T04:28:48.9566667+00:00

    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

    1. On the FTP server, open Internet Information Services (IIS) Manager.
    2. Expand server name → Sites, and select the FTP site.
    3. Open FTP SSL Settings.
    4. Under SSL Certificate, select the intended server certificate.
    5. 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:

    1. On the IIS server, run certlm.msc.
    2. 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.
    3. Open the server certificate and inspect Certification Path.
    4. 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.
    5. 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:

    1. On the server, open certlm.msc.
    2. Open the bound server certificate.
    3. Select Details → Thumbprint.
    4. 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

    1. FTP over SSL <ssl>
    2. Missing Intermediate Certificates in Chain
    3. Troubleshooting SSL related issues (Server Certificate)
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Daphne Huynh (WICLOUD CORPORATION) 2,540 Reputation points Microsoft External Staff Moderator
    2026-10-30T03:59:08.03+00:00

    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:

    1. The FTPS service is using the intended server certificate.
    2. The certificate is valid and has not expired.
    3. The DNS hostname used by the FTP client matches one of the names in the certificate's CN or SAN.
    4. 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

    Using FTP over SSL in IIS

    If you find it useful, please click Accept Answer.

    Thank you for choosing Microsoft Q&A.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.