Re: Encrypting JMX password for cassandra

2020-08-18 Thread Jai Bheemsen Rao Dhanwada
Thank you, I looked at this post but haven't tried. let me give a try On Tue, Aug 18, 2020 at 1:13 AM Johnny Miller wrote: > Jai, > > I haven't tried it myself, but you might be able to implement something > like this as I believe this is generic to Java. > > https://stackoverflow.com/questions/

Re: Encrypting JMX password for cassandra

2020-08-18 Thread Johnny Miller
Jai, I haven't tried it myself, but you might be able to implement something like this as I believe this is generic to Java. https://stackoverflow.com/questions/1676513/how-to-encrypt-passwords-for-jconsoles-password-file This may allow you to encrypt the JMX password in the file. Would be intere

Re: Encrypting JMX password for cassandra

2020-08-17 Thread Erick Ramirez
That's correct. The instructions are in the document you already linked plus in the official docs[1] on the Apache website. Cheers! [1] https://cassandra.apache.org/doc/latest/operating/security.html#jmx-access >

Re: Encrypting JMX password for cassandra

2020-08-17 Thread Jai Bheemsen Rao Dhanwada
Thanks Erick Can you please point me the doc for internal c* auth? Are you referring to c* auth for jmx? On Monday, August 17, 2020, Erick Ramirez wrote: > No, there isn't. You can either set the permissions to 400 so only the OS > cassandra user can read the file or enable internal C* auth so

Re: Encrypting JMX password for cassandra

2020-08-17 Thread Erick Ramirez
No, there isn't. You can either set the permissions to 400 so only the OS cassandra user can read the file or enable internal C* auth so the password is not stored in a file. Cheers!

Encrypting JMX password for cassandra

2020-08-17 Thread Jai Bheemsen Rao Dhanwada
Hello, When enabling JMX Authentication , username and password are stored as plain text in jmxremote.password file. Is there a way to encrypt the content of this file so it's not human readable?