Encryption of Database Connection Strings

Is there a way to encrypt the connection strings in the openfire.xml ? I’m using SQL server, and I will be using SQL Auth mode instead of Windows Integrated because of some of my network setup limitations. I want to be able to encrypt the SQL auth username and password that openfire uses to connect to the database.

Is that possible? I couldn’t find where in the documentation to configure that.


I don’t think that this is possible and it would make little sense. Openfire would still need to be able to decrypt things. So you may want to make sure that only the Openfire user can read the configuration file.

I have no idea whether one can use public/private keys for a secure database, but also there you would need to make sure that no one reads the private key.