Search code examples
keystoredatabricksjks

how to generate jks keystore file in databricks


I am trying to follow this documentation in order to have data encryption at rest and transit(more info)

I am not able to get this step: 'The JKS keystore file used for enabling SSL/HTTPS is dynamically generated for each workspace. '

Where exactly is this jks keystore file generated in "dbfs:/" ? Or do we have to manually generate this file? How to do so, any pointers?

Thanks.


Solution

  • The files are automatically generated by databricks and are stored on the filesystem of the driver node, which is not part of the DBFS.

    They are in the directory: $DB_HOME/keys ($DB_HOME is an environment variable that points to the root dir for databricks on the driver. In my case it was "/databricks")