<https://github.com/voxpupuli/puppet-puppet_certif...
# puppet
b
https://github.com/voxpupuli/puppet-puppet_certificate can do that. there's an example in the readme