Created 02-23-2017 06:11 PM
If I am using self-signed certificates, how can I do "Enabling Server Certificate Verification on Cloudera Manager Agents" from
https://www.cloudera.com/documentation/enterprise/latest/topics/how_to_configure_cm_tls.html#topic_3
?
I do not have /opt/cloudera/security/pki/rootca.cert.pem. Instead I have on each host:
/opt/cloudera/security/x509/<hostname>.{pem,key}
/opt/cloudera/security/jks/<hostname>.keystore
/opt/cloudera/security/jks/Hadoop2.truststore
Should I copy /opt/cloudera/security/x509/<CM server hostname>.{pem,key} into /opt/cloudera/security/pki/rootca.cert.pem on each host?
What does the terminology mean: root certificate, intermediate certificate?
If I do not procede with TLS configuration any further, will I still be able to use Kerberos?
Created 02-23-2017 09:14 PM
I guess, I can try to follow the instructions here
https://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/
to create self-signed root certificate and use it to sign host certificates...
It looks like there is also a way to do it with keytool
Created 02-24-2017 01:13 PM
Created 02-24-2017 05:22 PM
Hi @IgorYakushin,
To add to what @mbigelow mentioned, you can enable Kerberos without using TLS to secure communication between your agents and Cloudera Manager, but that would allow the kerberos keytabs to be transmitted from Cloudera Manager to your agents in the clear (risking a malicious party gaining access to your ketyab).
Most of the security you will likley need is taken care of by inabling TLS for Agent communication in this section:
Configuring TLS Encryption for Cloudera Manager Agents
This will encrypt communication when the agent gets the keytabs and other files from CM.
If you want more security by having the agents do verification of Cloudera Manager's certificate signer and hostname, then you can configure your trust file for each agent (to trust the CM signer).
In summary, you don't need to have TLS enabled to enable Kerberos. If you need to protect the keytabs, enable TLS Encryption for Agents.
If you need higher security by having the agents trust the signer of the Cloudera Manager server certificate, you can proceed with the other steps:
https://www.cloudera.com/documentation/enterprise/latest/topics/how_to_configure_cm_tls.html#topic_3
Ben