On systems where hostname is not set to the full FQDN, `hostname` will only give the short name. This is probably not sufficient when creating a certificate for browsers which require the full FQDN, such as Safari. We should update the documentation with something that is more likely to work on all systems.
Fixed in revision 28418. Suggests running `hostname --fqdn`