Deploying Immuta with a custom Certificate Authority or Trust Chain
Issue
A customer is utilizing a Custom Certificate or CA Trust Chain and wants to have Immuta use it by default for authentication to their data sources such as connecting to Databricks, Starburst/Trino, etc. without needing to upload a certificate every time.
Cause
Immuta is being deployed in an Air-gapped or specialty customer environment that utilizes a custom CA Trust Chain that Immuta does not acknowledge/trust by default.
Resolution
In order to get Immuta to accept a Custom CA Trust Chain or Cert by default on each deployment we will need to perform a few things around the helm deployment. As with all advanced deployment elements, we strongly recommend you consult your Immuta expert to ensure that the information is up-to-date and correct for your use case. Additionally, this only works with a single file/secret. If you want to have multiple CAs or Certificates you can concatenate them together in a single .pem/.crt file and Immuta will accept all of them.
Start by creating a Kubernetes secret to store your Certificate or Custom CA Trust Chain (you can use either a .pem or .crt file for this):
Identify what data sources that you want to use this custom CA/Certificate for
databricksHandler
- Use for Databricks Data SourcesprestoHandler
- Use for Trino Data SourcestrinoHandler
- Use for Licensed Starburst Data SourcessnowflakeHandler
- Use for Snowflake Data SourcesredshiftHandler
- Use for Redshift Data SourcesbigqueryHandler
- Use for Google BigQuery Data Sources
Utilize the new secret to mount a file to the web and query engine pods via the following helm values:
Update your deployment to ensure that the pods get the new config options:
From here on out, Immuta will use the new
ca-cert.pem
bundle and will trust any of these certificates when making SSL connections to your backing data sources.If you need to add or modify the bundle, you can update the secret and then upgrade you deployment again to get the new bundle to be accepted
Last updated