Created 09-17-2020 05:33 AM
Miracle!
It's start work while I delete file "config.ini.orig" from folder /etc/cloudera-scm/agent/
Now there only "config.ini" file.
Created 09-14-2020 08:43 AM
Hello @Yuriy_but ,
thank you for reaching out to the Community. What is the CDH version you are using, please?
For CDH6.3 please find here the related documentation on how to manually configure TLS Encryption for CM.
Did you follow the steps from the documentation, please?
Thank you:
Ferenc
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 09-15-2020 03:25 AM
I has enabled TLS Encryption for agents, but when I change file "/etc/cloudera-scm-agent/config.ini" to use_tls=1 and use path for my CA certs - its doesn't apply, in log I see parameters "use_tls=0 and standard auto_tls path to files".
Created 09-16-2020 01:23 AM
Hello @Yuriy_but ,
thank you for this information.
Did you enable "Use TLS Encryption for Agents" on CM, please?
Did you restart both CM and the agent on the host after making these changes?
To verify if the configuration change worked the documentation describes:
"In the Cloudera Manager Admin Console, go to Hosts > All Hosts. If you see successful heartbeats reported in the Last Heartbeat column after restarting the agents, TLS encryption is working properly."
Kind regards:
Ferenc
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 09-17-2020 03:09 AM
There is some photo (sorry for quality, machine w/o internet access):
1) Log file /var/log/cloudera-scm-agent/cloudera-scm-agent.log
2) Administration-> Settings -> TLS in CM:
3)Configuration file in /etc/cloudera-scm-agent/config.ini
Created 09-17-2020 04:21 AM
Hello @Yuriy_but ,
thank you for the screenshots.
Based on the log I would intuitively expect that if the agent was able to read the new configs, the "Agent config" section would reflect your TLS configuration however, it does not show the verify cert file neither the enabled TLS setting.
I guess you've tried to restart the agent already. Would you mind attempting to hard restart the agent to see if it transitioned into a bad state, so the restart did not work?
"Warning: The hard_stop and hard_restart commands kill all running managed service processes on the host(s) where the command is run."
Please let us know if the agent is able to read the updated configurations after a hard restart.
Thank you:
Ferenc
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 09-17-2020 04:53 AM
I did it, but doesn't work.
idk for cloudera server - all ok, but for agents - doesn't works.
(example for CM admin console, for hue - looks like this too).
Created 09-17-2020 05:33 AM
Miracle!
It's start work while I delete file "config.ini.orig" from folder /etc/cloudera-scm/agent/
Now there only "config.ini" file.
Created 09-17-2020 05:38 AM
Hello @Yuriy_but ,
it is good to hear you found the solution and it works for you now!
Best regards:
Ferenc
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: