Created 04-30-2025 09:28 AM
Hello,
I need to enable the HSTS header for Cloudera Management Services - Host Monitor Service and Service Monitor Service.
Whilst I managed to do this for all the other services in the cluster using CORE_SETTINGS -> via HTTP Strict Transport Security parameter, this doesn't seem to be applied to Host Monitor Service and Service Monitor Instance from Cloudera Management Services . Is there a way to enable this?
I am running a cloudera manager 7.13.1 with a cloudera runtime 7.3.1.
Thank you so much!
Created 04-30-2025 09:58 PM
Hello @teo123
Thanks to you for reaching out to the Cloudera community
I understand that you are looking for disabling HSTS on Host Monitor and Service Monitor. I assume that you are looking for ports 8086 and 8091
Kindly note that, the Port 8086 and 8091 are the debug ports of HMON and SMON which is used for the purpose of troubleshooting.
The same can be disabled by setting the value of port to -1 .
This debug port should not be enabled unless there is some troubleshooting going on in the corresponding service with help of cloudera support. Feel free to disable the ports by setting the values to -1 and restarting Cloudera management services so that tool doesn't detect the port and so on and forth.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Created 04-30-2025 10:07 AM
@teo123 Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our Cloudera Manager experts @soychago @Rajat_710 who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created 04-30-2025 09:58 PM
Hello @teo123
Thanks to you for reaching out to the Cloudera community
I understand that you are looking for disabling HSTS on Host Monitor and Service Monitor. I assume that you are looking for ports 8086 and 8091
Kindly note that, the Port 8086 and 8091 are the debug ports of HMON and SMON which is used for the purpose of troubleshooting.
The same can be disabled by setting the value of port to -1 .
This debug port should not be enabled unless there is some troubleshooting going on in the corresponding service with help of cloudera support. Feel free to disable the ports by setting the values to -1 and restarting Cloudera management services so that tool doesn't detect the port and so on and forth.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Created 04-30-2025 10:41 PM
Hello,
Thank you for your answer!
I need to ENABLE HSTS header on all ports in the cluster which are exposed via HTTPS.
But if I understand it correcly, I can safely disable the debug interface. I can’t enable HSTS on the Service and Host Monitoring services, right?
Thank you so much! All the best!
Created 05-01-2025 05:19 AM
Hello @teo123
Yes, your understanding is correct
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.