Support Questions

Find answers, ask questions, and share your expertise

CM_AUTO_TLS truststore and keystore

avatar

Hi

 I have services configured with CM_AUTO_TLS. I would like to know where can I find the services truststore (for example Hive2, or Impala daemon's) and where can I find the passwords for keystores and trusstores?

Is there any documentation describing in detail how these files are organized, where are located?

 

Thanks

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@Tomas79 To get the truststore password and location use below CM API 

 

curl -s -k -u admin:admin 'https://CM HOSTNAME(FQDN):7183/api/v45/certs/truststorePassword'

 


If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.

View solution in original post

3 REPLIES 3

avatar
New Contributor

avatar
Master Guru

@Tomas79,

 

As @mender mentioned, the documentation includes location of the files.  Here is a link to the specific information:

 

https://www.cloudera.com/documentation/enterprise/latest/topics/auto_tls.html#auto_tls_agent_files

avatar
Master Collaborator

@Tomas79 To get the truststore password and location use below CM API 

 

curl -s -k -u admin:admin 'https://CM HOSTNAME(FQDN):7183/api/v45/certs/truststorePassword'

 


If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.