Ask Your Question

SSL files do not exist

asked 2015-08-23 20:39:08 -0600

Fang gravatar image

Hi Guys,

When I execute the 'puppet config print hostcert' or 'puppet config print hostprivkey' commands on the puppet master, I get a response like /etc/puppet/ssl/certs/thecertfile.pem or/etc/puppet/ssl/privatekeys/thecert_key.pem respectively. However, these files don't exist on my system.

How can these files not exist and yet puppet still seem to work just perfectly? Should I be concerned?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-08-24 11:27:27 -0600

ramindk gravatar image

It's likely a difference between the current puppet.conf and the defaults built into the Puppet package. Try looking for the files in /var/lib/puppet/ssl/ instead.

edit flag offensive delete link more


Finding the files isn't an issue. My concern is that Puppet doesn't seem to know where the files are.

Fang gravatar imageFang ( 2015-08-24 14:32:00 -0600 )edit

The puppet binary when run from your user environment doesn't know where the files are. Puppet when started with its config file obviously does. Try puppet config print hostcert --config /etc/puppet/puppet.conf to see the differences.

ramindk gravatar imageramindk ( 2015-08-24 14:40:21 -0600 )edit

I get exactly the same result with the command you suggested (including the --config /etc/puppet/puppet.conf). Both commands indicate the same file. A file that doesn't exist.

Fang gravatar imageFang ( 2015-08-24 16:01:17 -0600 )edit

Where are the ssl files currently?

ramindk gravatar imageramindk ( 2015-08-25 12:04:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-08-23 20:39:08 -0600

Seen: 51 times

Last updated: Aug 24 '15