Record: ClientSecureSocket

Secure Socket configuration for TCP Client.

Closed record

Fields

  • enable boolean(default true)
  • Enable SSL validation

  • cert TrustStore | string?
  • Configurations associated with crypto:TrustStore or single certificate file that the client trusts

  • protocol record {| Protocol name; string[] versions = []; |} ?
  • SSL/TLS protocol related options

  • ciphers string[ ]?
  • List of ciphers to be used eg: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

  • handshakeTimeout decimal?
  • SSL handshake time out

  • sessionTimeout decimal?
  • SSL session time out