Record - http : ListenerSecureSocket

Configures the SSL/TLS options to be used for HTTP service.

Fields

  • trustStore TrustStore? ()
  • Configures the trust store to be used

  • keyStore KeyStore? ()
  • Configures the key store to be used

  • certFile string
  • A file containing the certificate of the server

  • keyFile string
  • A file containing the private key of the server

  • keyPassword string
  • Password of the private key if it is encrypted

  • trustedCertFile string
  • A file containing a list of certificates or a single certificate that the server trusts

  • protocol Protocols? ()
  • SSL/TLS protocol related options

  • certValidation ValidateCert? ()
  • Certificate validation against CRL or OCSP related options

  • ciphers string [TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256]
  • List of ciphers to be used (e.g.: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA)

  • sslVerifyClient string
  • The type of client certificate verification. (e.g.: "require" or "optional")

  • shareSession boolean true
  • Enable/disable new SSL session creation

  • handshakeTimeoutInSeconds int ()
  • SSL handshake time out

  • sessionTimeoutInSeconds int ()
  • SSL session time out