I'm facing a weird issue after enabling SSL(level 0) using self-signed certs where I'm not able to see the Active/standby state for Namenode as well for Resource Manager for one out of the two roles. When I check from the backend using hdfs haadmin -getServiceState command, it gives the expected result. Also the failover is working fine. The role is in healthy state but in HDFS/YARN it is showing that the service monitor did not find and active/standby Namenode/Resource Manager.
I tried migrating this other role to another node, but still the same result.
After checking logs for the affected Namenode/RM role, it shows the below warning:
Also, I checked the Service monitor logs, it is giving the below error;
I've configured a truststore which is same across al the hosts and a keystore for each of the nodes. All the certificates look good from the backend when i check with the keytool -v -list -keystore command. Not sure what I'm missing out. Any help will be really appreciated.