mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 16:02:11 +00:00
d82ffd664d
The setup_ducklake_catalog_db_inner function was using NoTls even when sslmode=require was set in the connection string, causing TLS handshake failures with AWS RDS PostgreSQL. This fix adds conditional TLS connector logic similar to pg_executor.rs: - Uses native_tls::TlsConnector with MakeTlsConnector when sslmode requires SSL - Accepts invalid certs/hostnames for compatibility with managed DB services - Falls back to NoTls for non-SSL connections Fixes the 'error performing TLS handshake: no TLS implementation configured' error when setting up DuckLake instance catalogs with RDS PostgreSQL.