Record -
grpc
: SecureSocket
Provides the configurations for facilitating secure communication with a remote HTTP endpoint.
Fields
- disable boolean (default false)
-
Disable the SSL validation
- trustStore TrustStore? (default ())
-
Configurations associated with the TrustStore
- keyStore KeyStore? (default ())
-
Configurations associated with the KeyStore
- certFile string
-
A file containing the certificate of the client
- keyFile string
-
A file containing the private key of the client
- 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 client trusts
- protocol Protocols? (default ())
-
SSL/TLS protocol related options
- certValidation ValidateCert? (default ())
-
Certificate validation against CRL or OCSP related options
- ciphers string[] (default [])
-
List of ciphers to be used eg: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
- verifyHostname boolean (default true)
-
Enable/disable host name verification
- shareSession boolean (default true)
-
Enable/disable new SSL session creation
- ocspStapling boolean (default false)
-
Enable/disable OCSP stapling
- handshakeTimeoutInSeconds int
-
SSL handshake time out
- sessionTimeoutInSeconds int
-
SSL session time out