Ask Your Question

puppet cert deprecated?

asked 2018-09-11 13:49:13 -0600

sirinek gravatar image

I am testing an install of PE 2018.1.4 (puppet 5.5.6)

When trying to regenerate an agent cert, I am getting:

root@puppetmaster # puppet cert clean
Warning: Accessing 'cakey' as a setting is deprecated.
   (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:1165:in `issue_deprecation_warning')
Warning: `puppet cert` is deprecated and will be removed in a future release.
   (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run')
Notice: Revoked certificate with serial 47
Notice: Removing file Puppet::SSL::Certificate at '/etc/puppetlabs/puppet/ssl/ca/signed/'
Notice: Removing file Puppet::SSL::Certificate at '/etc/puppetlabs/puppet/ssl/certs/'
root@puppetmaster #

What is the procedure to clean certs these days? The PE 2018 documentation says to use "puppet cert clean".



edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-09-12 05:11:35 -0600

jesse gravatar image

That is still the correct procedure. In Puppet 6 puppet.conf will no longer be the place to configure CA settings. Instead that configuration is to puppetserver's config. So the ca settings currently used in puppet.conf are deprecated but still the correct way to do things until Puppet 6.


edit flag offensive delete link more

answered 2018-09-12 07:32:28 -0600

sirinek gravatar image

Finally found the answer in the release notes at

Puppet, you should update your documentation :)

edit flag offensive delete link more

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: 2018-09-11 13:49:13 -0600

Seen: 1,389 times

Last updated: Sep 12