You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sqlx-core/src/mssql/options/parse.rs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ impl FromStr for MssqlConnectOptions {
28
28
/// - `strict`: Requires encryption and validates the server certificate.
29
29
/// - `mandatory` or `true` or `yes`: Requires encryption but doesn't validate the server certificate.
30
30
/// - `optional` or `false` or `no`: Uses encryption if available, falls back to unencrypted.
31
+
/// - `not_supported`: No encryption.
31
32
/// - `sslrootcert` or `ssl-root-cert` or `ssl-ca`: Path to the root certificate for validating the server's SSL certificate.
32
33
/// - `trust_server_certificate`: When true, skips validation of the server's SSL certificate. Use with caution as it makes the connection vulnerable to man-in-the-middle attacks.
33
34
/// - `hostname_in_certificate`: The hostname expected in the server's SSL certificate. Use this when the server's hostname doesn't match the certificate.
0 commit comments