# Enrich 6.15.x upgrade guide for SQL query enrichment certificate verification
> Upgrade guide for Enrich 6.15.x, where the SQL query enrichment verifies the database server certificate and hostname when sslMode is true.
> Source: https://docs.snowplow.io/docs/api-reference/enrichment-components/upgrade-guides/6-15-x-upgrade-guide/
> Documentation index: https://docs.snowplow.io/llms.txt

This guide only applies if you use the [SQL query enrichment](/docs/pipeline/enrichments/available-enrichments/custom-sql-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 `host` in 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.
