I'm trying to use master-side certificate generation with hosts at Amazon's EC2 service. Internal hostnames there use mixed-case names:
domU-12-31-12-34-56-78.compute-1.internal
Note the "U" is upper-case.
I build a set of certificates for this client:
puppetca --generate domU-12-31-12-34-56-78.compute-1.internal
Resulting files are:
./private_keys/domu-12-31-12-34-56-78.compute-1.internal.pem
./certs/domu-12-31-12-34-56-78.compute-1.internal.pem
./ca/signed/domu-12-31-12-34-56-78.compute-1.internal.pem
Note all lower-case "u"s in "domu".
When I put these onto the puppet client, they are mis-matched between hostname and filenames. The client (when started) ends up creating new keys with mixed-case names next to the versions that were copied from the Puppet master server:
-rw------- 1 root root domU-12-31-12-34-56-78.compute-1.internal.pem
-r-------- 1 root root domu-12-31-12-34-56-78.compute-1.internal.pem
It's very possible this is invalid. I don't know the specs surrounding certificate generation.