Status quo
PostgreSQL uses the sslmode client parameter to configure SSL connectivity options across the board, see 32.19.3. Protection Provided in Different Modes. CrateDB's SQLAlchemy dialect currently only uses the ssl=true query parameter.
Proposal
Make it so that the CrateDB SQLAlchemy dialect is more standards-oriented, and will also accept the sslmode option, when applicable. Most prominently, @WalBeh asked for sslmode=require, in order to strictly use SSL, but to turn off host name validation.
This is needed to connect to https://localhost:4200/ successfully, which is apparent in K8s or other operational scenarios.
Status quo
PostgreSQL uses the
sslmodeclient parameter to configure SSL connectivity options across the board, see 32.19.3. Protection Provided in Different Modes. CrateDB's SQLAlchemy dialect currently only uses thessl=truequery parameter.Proposal
Make it so that the CrateDB SQLAlchemy dialect is more standards-oriented, and will also accept the
sslmodeoption, when applicable. Most prominently, @WalBeh asked forsslmode=require, in order to strictly use SSL, but to turn off host name validation.This is needed to connect to https://localhost:4200/ successfully, which is apparent in K8s or other operational scenarios.