For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/api-reference/enrichment-components/upgrade-guides/6-15-x-upgrade-guide.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/api-reference/llms.txt.
Enrich 6.15.x upgrade guide for SQL query enrichment certificate verification
This guide only applies if you use the SQL query enrichment with sslMode: true.
From Enrich 6.15.0, when sslMode is true, Enrich verifies the database server certificate against the JVM truststore, and checks that the certificate matches the host in the enrichment configuration. Earlier versions encrypted the connection but accepted any certificate.
Before you upgrade, make sure that:
- The server certificate is signed by a certificate authority that the JVM trusts
- The
hostin your enrichment configuration matches a name on the certificate
If your database uses a certificate from a private or provider-specific certificate authority, add that authority to a truststore and point Enrich's JVM at it using the standard javax.net.ssl.trustStore system property.