fix: ssl mode mapping
@ -113,6 +113,9 @@ const onSSLModeChange = ((mode: SSLUsage) => {
delete connection.ssl
break
case SSLUsage.Allowed:
connection.ssl = 'no-verify'
case SSLUsage.Preferred:
connection.ssl = 'true'
default:
@ -21,7 +21,7 @@ export interface DefaultConnection {
user: string
password: string
port: number | string
ssl?: Record<CertTypes, string> | 'true'
ssl?: Record<CertTypes, string> | 'no-verify' | 'true'
}
export interface SQLiteConnection {