Created on 01-21-2020 08:39 AM - edited 01-21-2020 09:19 AM
The node certificates on my cluster are expiring soon so I have installed new ones, including on the node that has ambari-server.
However, after restarting ambari server, ambari agent, and even the node itself, the old certificate still shows.
I've tried also clearing cache and cookies for all time on my browser, but it doesn't work and the old cert even shows up on IE.
I've tried the same methodology for other nodes in the cluster and it has worked, so why isn't it working for the ambari node? (ambari-server is set up through an https port)
Created 01-22-2020 02:56 AM
Hello,
In older versions of ambari, HDP 2.6.5 we've seen behavior that ambari uses the default cert/trustore pairs used by java instead of the values specified in Ambari UI.
Please try adding the cert to the default java cert store.
Also have you tried running ambari-server setup-security and specifying the cert path.
Also, on HDP 3.1 we've noticed that the node cert should be the only cert in the store for the correct cert to be extracted by Ambari. I.e. a store with all the node certs will not allow Ambari to extract the correct cert for the corresponding node.
HTH
Best,
Lyubomir
Created 01-22-2020 02:56 AM
Hello,
In older versions of ambari, HDP 2.6.5 we've seen behavior that ambari uses the default cert/trustore pairs used by java instead of the values specified in Ambari UI.
Please try adding the cert to the default java cert store.
Also have you tried running ambari-server setup-security and specifying the cert path.
Also, on HDP 3.1 we've noticed that the node cert should be the only cert in the store for the correct cert to be extracted by Ambari. I.e. a store with all the node certs will not allow Ambari to extract the correct cert for the corresponding node.
HTH
Best,
Lyubomir
Created on 01-22-2020 07:37 AM - edited 01-22-2020 12:19 PM
Thank you! Going through the wizard (ambari-server setup-security) fixed my issue. I just needed to point to the new key and certificate chain file, then restart.