I'm having an issue relating to host names and SSL signing. The certificate signing process works fine if my host name is puppet
. With the IP of the puppet master server being set in /etc/hosts
.
I don't want to use the IP as it will likely change and I'll have to update /etc/hosts
again.
Instead I point directly to the url but this causes additional issues relating to inconsistency in certificate names.
Is there anyway to set a host to url? E.g. something like the following in /etc/hosts
:
example.com puppet
ip-address hostname alias(es)
./etc/hosts
is used specifically to assign an IP address to a given set of hostnames.