Record -
grpc
: SecureSocket
Provides configurations for facilitating secure communication with a remote HTTP endpoint.
Fields
- disable boolean false
-
Disable ssl validation.
- trustStore TrustStore? ()
-
Configurations associated with TrustStore
- keyStore KeyStore? ()
-
Configurations associated with 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? ()
-
SSL/TLS protocol related options
- certValidation ValidateCert? ()
-
Certificate validation against CRL or OCSP 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
- verifyHostname boolean true
-
Enable/disable host name verification
- shareSession boolean true
-
Enable/disable new SSL session creation
- ocspStapling boolean false
-
Enable/disable OCSP stapling
- handshakeTimeoutInSeconds int
-
SSL handshake time out
- sessionTimeoutInSeconds int
-
SSL session time out