TLS related primtives

July 31, 2026 ยท View on GitHub

ses_tls_sni_in(host_list)

  • Description: Check whether tls sni matches host_list (case-insensitive)

  • Parameters

ParameterDescription
host_listString
a list of hosts which are concatenated using |
  • Example
ses_tls_sni_in("example.com|example.org")

ses_tls_client_auth()

  • Description: Check whether tls mutual authentication is enabled

ses_tls_client_ca_in(ca_list)

  • Description: Check whether tls mutual authentication is enabled and client ca matches ca_list (case-sensitive)

  • Parameters

ParameterDescription
ca_listString
a list of ca names which are concatenated using |
  • Example
ses_tls_client_ca_in("ca1|ca2")