Project

General

Profile

Actions

Bug #20869

open

provide option to change certificate name on hostname change

Added by Han Boetes over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PuppetCA
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since I quite sometimes have to change a hostname I've set up my puppet environment. I noticed the certificate name doesn't change with the new hostname. This makes sense but sometimes that's quite confusing.

So I've set up a puppet recipe that changes the puppet.conf and now all I have to do is to manually sign the cert. No big deal. But, IMHO it would even be nicer if foreman could manage both the certificate name and puppet.conf. I can imagine adding a warning in the interface with a message like:

Your hostname and cert are not the same. Would you like to change the cert name?
Actions #1

Updated by Han Boetes over 6 years ago

This seems to be a related issue: http://projects.theforeman.org/issues/6566

Actions #2

Updated by Daniel Lobato Garcia over 6 years ago

  • Category set to PuppetCA

This means you would want your new hostname (which becomes the certname) to be autosigned, correct?
This can be done right now, but you would have to rebuild the host after renaming, just editing and submitting is not enough.

Actions #3

Updated by Han Boetes over 6 years ago

Hello Daniel,

In my use case I install a host, make a few changes and change the name from the test name to the production name, so not having to redeploy it would be nice.

Actions

Also available in: Atom PDF