Lab report from my studies at IPAMC: configuring an IIS server with secure FTPS on Windows Server 2022, integrated into a full network infrastructure (Active Directory Domain Services, Active Directory Certificate Services, DHCP).
Full report and a demo video are available on the site.
Lab architecture
Everything runs in Hyper-V on an isolated internal network: a Windows Server 2022 machine acting as domain controller, and a Windows 10 client joined to that domain. The server combines the IIS, FTP, Active Directory (AD DS), internal certificate authority (AD CS) and DHCP roles.
What was built
- ᚱA website served over HTTPS, with a certificate signed by the internal certificate authority: no warning on domain machines
- ᚱAn FTP server secured with FTPS, with an isolated folder for each Active Directory user
- ᚱActive Directory users and groups, with NTFS permissions on the web and FTP folders
- ᚱDHCP giving the client its address, DNS and domain suffix, then the client joining the domain and receiving group policies
Problems along the way
Three blockers took some digging. A "530 User cannot log in" error came from FTP folders created under the wrong domain name: the domain's NetBIOS name has to be used, then read rights granted to IUSR and IIS_IUSRS on the FTP root. A browser certificate warning was fixed by recreating the certificate with a DNS name and the internal authority as signer. Finally, the firewall blocked ports 80 and 443 until a rule was added.
Where it stands
The lab is working and validated from the client: HTTPS access, FTP login, DHCP and domain join. FTP folder isolation was only verified with a single user.