1. URL's ACL
The first steps are to reserve the ADFS urls using the new port, run the below commands:
netsh http add urlacl url=https://+:4433/FederationMetadata/2007-06/ user=domain\account listen=yes delegate=yes
netsh http add urlacl url=https://+:4433/adfs/ user=domain\account listen=yes delegate=yes
Then confirmed the above URL's have been added by running the command:
netsh http show urlacl
to confirm the url's you added are listed.
2. Powershell Set new HTTPS port
The second step you set the ADFS https port via powershell:
Set-ADFSProperties -HttpsPort 4433
Restart the ADFS service
3. Binding IIS to the new port
The last step is to change the default website bindings for the HTTPs port.
Open IIS > Highlight Default Website and click on the right-hand-side Bindings
4. Testing
To test the new port open Internet Explorer and type:
https://myadfs.domain.com/FederationMetadata/2007-06/FederationMetadata.xml
and you should get a page with XML:
Hope this was helpful, please leave your feedback or let me know if you have any questions.
Thanks
No comments:
Post a Comment