Ask Your Question
0

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 host.domain.com
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 host.domain.com at '/etc/puppetlabs/puppet/ssl/ca/signed/host.domain.com.pem'
Notice: Removing file Puppet::SSL::Certificate host.domain.com at '/etc/puppetlabs/puppet/ssl/certs/host.domain.com.pem'
root@puppetmaster #

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

Thanks

Bill

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

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.

See: https://tickets.puppetlabs.com/browse...

edit flag offensive delete link more
1

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

sirinek gravatar image

Finally found the answer in the release notes at https://puppet.com/docs/puppetserver/...

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

Stats

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

Seen: 987 times

Last updated: Sep 12