Note: These steps work only if the machines that will host the Gateway Servers are in the same domain as the Files Advanced Web Server.
In order for the KDC ("Key Distribution Center") Kerberos server to be able to authenticate users to the gateway server, the gateway service must be registered with the KDC server by running setspn and specifying the hostname of the server on which it is running as the 'user' in the setspn command.
For any Gateway Servers that reside on a different machine from the Files Advanced Web Server
For example, if you gateway server is running on host 'cody' in the domain, run this command:
setspn -s HTTP/cody.acme.com cody
setspn -s HTTP/cody.acme.com:444 cody