Can FTP be added as an option for deployment ?
OR
Can CTW post a known good working post-request for FTP that:
- Only runs if new cert was issued
- Logs output somewhere in the case of errors
- When you test it outputs success/fail or error info…
There is “1” post on the web I found with some info and I adapted slightly based on the admin comments to the thread. The below works, but it would be nice to include something like this as you do for Exchange/RDP etc:
param($result)
Import-Module -Name webadministration
$FTPsite = ‘IIS:\Sites\AB_FTP’
Set-ItemProperty -Path $FTPsite -Name ftpServer.security.ssl.serverCertHash -Value $result.ManagedItem.CertificateThumbprintHash