Skip to main content

Get TLS Settings

Forms settings for using TLS

Function GetTlsSettings(Val DisableCertVerification, Val CertFilepath = "") Export

ParameterCLI optionTypeRequiredDescription
DisableCertVerification--trustBooleanAllows to work with invalid certificates, including self signed
CertFilepath--certStringPath to the PEM certificate file if it is not in the system store (for mTLS)

Returns: Structure Of KeyAndValue - Structure of TLS connection settings


tip

Tls settings can only be set when a connection is created: explicitly, by using the OpenConnection function or implicit, when passing the connection string to ORM methods.

Passing Tls settings together with passing an already created connection to the Connection parameter will be ignored