Package io.quarkus.grpc.runtime.config
Class SslServerConfig
java.lang.Object
io.quarkus.grpc.runtime.config.SslServerConfig
Shared configuration for setting up server-side SSL.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe classpath path or file path to a server certificate or certificate chain in PEM format.The cipher suites to use.io.vertx.core.http.ClientAuthConfigures the engine to require/request client authentication.The classpath path or file path to the corresponding certificate private key file in PEM format.An optional keystore that holds the certificate information instead of specifying separate files.A parameter to specify the alias of the keystore file.A parameter to specify the alias password of the keystore file.A parameter to specify the password of the keystore file.An optional parameter to specify the type of the keystore file.Sets the ordered list of enabled SSL/TLS protocols.An optional trust store which holds the certificate information of the certificates to trustA parameter to specify the password of the trust store file.An optional parameter to specify type of the trust store file. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
certificate
The classpath path or file path to a server certificate or certificate chain in PEM format. -
key
The classpath path or file path to the corresponding certificate private key file in PEM format. -
keyStore
An optional keystore that holds the certificate information instead of specifying separate files. The keystore can be either on classpath or an external file. -
keyStoreType
An optional parameter to specify the type of the keystore file. If not given, the type is automatically detected based on the file name. -
keyStorePassword
A parameter to specify the password of the keystore file. -
keyStoreAlias
A parameter to specify the alias of the keystore file. -
keyStoreAliasPassword
A parameter to specify the alias password of the keystore file. -
trustStore
An optional trust store which holds the certificate information of the certificates to trustThe trust store can be either on classpath or an external file.
-
trustStoreType
An optional parameter to specify type of the trust store file. If not given, the type is automatically detected based on the file name. -
trustStorePassword
A parameter to specify the password of the trust store file. -
cipherSuites
The cipher suites to use. If none is given, a reasonable default is selected. -
protocols
Sets the ordered list of enabled SSL/TLS protocols.If not set, it defaults to
"TLSv1.3, TLSv1.2". The following list of protocols are supported:TLSv1, TLSv1.1, TLSv1.2, TLSv1.3. To only enableTLSv1.3, set the value toto "TLSv1.3".Note that setting an empty list, and enabling SSL/TLS is invalid. You must at least have one protocol.
-
clientAuth
Configures the engine to require/request client authentication. NONE, REQUEST, REQUIRED
-
-
Constructor Details
-
SslServerConfig
public SslServerConfig()
-