Regenerate x509 certs for fleet on IP change #7759
-
Looking for some guidance here. I've run IP update, as I recently moved my SO deployment to a new subnet. Everything is working great with the exception of my fleet. I'm seeing the following error in Windows Application logging:
Runnin
x@seconion:~$ sudo salt-call pillar.get global At a loss here, everything config-wise seems like it should be using "192.168.51.2", but for some reason the Windows Agent (even after rebuilding the agents with the new IP) seem to still use an old cert. Is there a way to manually regenerate the fleet cert to use the new IP? As a follow-up, what is the correct way to remove a custom hostname for fleet? I just am now seeing at somepoint I may have run a command to set a custom hostname that's actually the IP of the manager node. Steps I've taken
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Is this a Standalone? ISO or Network install? I'm assuming 1.13 is the old IP? On the Manager, try the following:
|
Beta Was this translation helpful? Give feedback.
Is this a Standalone? ISO or Network install?
I'm assuming 1.13 is the old IP?
On the Manager, try the following:
sudo rm -f /etc/pki/managerssl.crt
sudo salt-call state.apply ssl,nginx