init_tls_policy

Function init_tls_policy 

Source
pub fn init_tls_policy(allow: bool)
Expand description

Initialize the TLS certificate policy (call once at startup)

This must be called before any database connections are made. It is thread-safe and will only set the value once.

ยงArguments

  • allow - If true, accept self-signed/invalid TLS certificates (insecure)