{"id":1480,"date":"2025-11-16T13:50:42","date_gmt":"2025-11-16T05:50:42","guid":{"rendered":"https:\/\/www.livetops.com\/?p=1480"},"modified":"2025-11-16T13:50:46","modified_gmt":"2025-11-16T05:50:46","slug":"%e5%9c%a8-windows-iis-%e4%b8%8a%e9%83%a8%e7%bd%b2-ftps%ef%bc%88ftp-over-tls%ef%bc%89%ef%bc%9a%e8%af%81%e4%b9%a6%e9%85%8d%e7%bd%ae%e3%80%81%e8%a2%ab%e5%8a%a8%e6%a8%a1%e5%bc%8f%e4%b8%8e%e5%85%ac","status":"publish","type":"post","link":"https:\/\/www.livetops.com\/en\/archives\/1480","title":{"rendered":"Deploying FTPS (FTP over TLS) on Windows IIS: Certificate Configuration, Passive Mode and Public Access"},"content":{"rendered":"This work is licensed under <a href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY 4.0<\/a><img decoding=\"async\" src=\"https:\/\/mirrors.creativecommons.org\/presskit\/icons\/cc.svg\"  style=\"max-width: 1em;max-height:1em;margin-left: .2em;\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe\" \/><img decoding=\"async\" src=\"https:\/\/mirrors.creativecommons.org\/presskit\/icons\/by.svg\"  style=\"max-width: 1em;max-height:1em;margin-left: .2em;\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe1\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe1\" \/>\n\n\n\n<p>If an FTP site is open on the Internet and private data is involved (e.g., backup photos), it needs to be encrypted during transmission.<\/p>\n\n\n\n<p>FTP built with IIS supports FTPS and can be set to either allow SSL or require SSL to provide compatibility.Windows Explorer does not support FTPS, so when using Explorer to access a site with FTPS, it will automatically switch to normal FTP without encryption if it is set to allow SSL mode.<\/p>\n\n\n\n<p>After setting up FTP, first check the main IIS server, which will have the option [FTP SSL Settings].<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"534\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1-1024x534.png\"  class=\"wp-image-1481\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1-1024x534.png 1024w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1-300x157.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1-768x401.png 768w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1-18x9.png 18w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-1.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe2\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe2\" \/><\/figure>\n\n\n\n<p>Check the configured certificates and check [Require] if full encryption is required, or [Allow] for compatibility or convenience. However, sometimes transfers are not encrypted (e.g. using Windows Explorer to access an FTP (FTPS) site).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3-1024x531.png\"  class=\"wp-image-1482\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3-1024x531.png 1024w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3-300x155.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3-768x398.png 768w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3-18x9.png 18w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-3.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe3\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe3\" \/><\/figure>\n\n\n\n<p>If you don't have an official certificate, you can create a self-signed certificate for testing, but it is recommended that you use a certificate from a trusted CA in a public network environment, otherwise a certificate warning will appear on the client.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8-1024x531.png\"  class=\"wp-image-1483\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8-1024x531.png 1024w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8-300x155.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8-768x398.png 768w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8-18x9.png 18w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-8.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe4\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe4\" \/><\/figure>\n\n\n\n<p>In addition, when using port mapping such as FRP, the<strong>If you do not configure an \"external IP address\" in IIS, the server will return an internal address (e.g. 127.0.0.1 or an internal LAN address) in the PASV response<\/strong>This will result in the client not being able to establish a data connection. Therefore, you must set [external IP address of firewall] so that IIS advertises the correct public address to clients in passive mode.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7-1024x530.png\"  class=\"wp-image-1484\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7-1024x530.png 1024w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7-300x155.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7-768x398.png 768w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7-18x9.png 18w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-7.png 1359w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe5\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe5\" \/><\/figure>\n\n\n\n<p>Once configured, the same SSL configuration is performed for the individual FTP sites, and the FTPS site is finally accessible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4-1024x566.png\"  class=\"wp-image-1485\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4-1024x566.png 1024w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4-300x166.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4-768x424.png 768w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4-18x10.png 18w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-4.png 1240w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe6\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe6\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"513\" height=\"405\" src=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-6.png\"  class=\"wp-image-1486\" srcset=\"https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-6.png 513w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-6-300x237.png 300w, https:\/\/www.livetops.com\/wp-content\/uploads\/2025\/11\/FTP-6-15x12.png 15w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" title=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe7\" alt=\"\u5728 Windows IIS \u4e0a\u90e8\u7f72 FTPS\uff08FTP over TLS\uff09\uff1a\u8bc1\u4e66\u914d\u7f6e\u3001\u88ab\u52a8\u6a21\u5f0f\u4e0e\u516c\u7f51\u8bbf\u95ee\u63d2\u56fe7\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>This work is licensed under CC BY 4.0 \u5982\u679c\u5728\u56e0\u7279\u7f51\u4e0a\u5f00\u653eFTP\u7ad9\u70b9\uff0c\u6d89\u53ca [&hellip;]<\/p>","protected":false},"author":1,"featured_media":1488,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[273,411],"tags":[412,298,302,325],"class_list":["post-1480","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-cc","category-ftp","tag-iis","tag-ssl","tag-windows","tag-safety","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/posts\/1480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/comments?post=1480"}],"version-history":[{"count":2,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/posts\/1480\/revisions"}],"predecessor-version":[{"id":1489,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/posts\/1480\/revisions\/1489"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/media\/1488"}],"wp:attachment":[{"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/media?parent=1480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/categories?post=1480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.livetops.com\/en\/wp-json\/wp\/v2\/tags?post=1480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}