Skip to content

Commit

Permalink
fix(data-warehouse): Dont verify self signed cert for mysql (#25512)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert09 authored Oct 10, 2024
1 parent a741adf commit 023f59b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def sql_source_for_type(
is_debug = get_from_env("DEBUG", False, type_cast=str_to_bool)
ssl_ca = "/etc/ssl/cert.pem" if is_debug else "/etc/ssl/certs/ca-certificates.crt"
credentials = ConnectionStringCredentials(
f"mysql+pymysql://{user}:{password}@{host}:{port}/{database}?ssl_ca={ssl_ca}"
f"mysql+pymysql://{user}:{password}@{host}:{port}/{database}?ssl_ca={ssl_ca}&ssl_verify_cert=false"
)
elif source_type == ExternalDataSource.Type.MSSQL:
credentials = ConnectionStringCredentials(
Expand Down

0 comments on commit 023f59b

Please sign in to comment.