Friday 18 September 2015

VCSA 6 Regenerate Certificate after changing Hostname

VCSA 6 Regenerate Certificate after changing Hostname

Sometimes during the update of documentation things get missed. I was reading the vSphere Troubleshooting PDF on page 34 when I got lost. They were describing something not possible! 

"Error When You Change vCenter Server Appliance Host Name"

1 Log in to the vCenter Server Appliance Web interface.
2 Click the Network tab and click Address.
3 Change the host name and click Save Settings.

You cannot change the host name if the appliance uses DHCP to obtain an address.

4 Click the Admin tab and click Toggle certificate setting.

vCenter Server generates new certificates for systems that use default certificates. For systems that use custom certificates, you must regenerate the certificates manually.



I mean - WHAT Admin tab are they talking about!?!!

This is plainly wrong so I searched and found the following VMware article that thankfully addresses this scenario:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2112017

If you still have the 5.x VCSA you revert there first otherwise there are command line fixes to enter into VCSA 6.0 after removing the domain identity source from the vCenter configuration.

I assume this scenario exists when you upgrade and want to keep the old vCenter name after the upgrade is finished?