Package io.quarkus.vertx.http.runtime
Class ServerSslConfig
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.ServerSslConfig
-
public class ServerSslConfig extends Object
Shared configuration for setting up server-side SSL.
-
-
Field Summary
Fields Modifier and Type Field Description CertificateConfig
certificate
The server certificate configuration.Optional<List<String>>
cipherSuites
The cipher suites to use.List<String>
protocols
The list of protocols to explicitly enable.boolean
sni
Enables Server Name Indication (SNI), an TLS extension allowing the server to use multiple certificates.
-
Constructor Summary
Constructors Constructor Description ServerSslConfig()
-
-
-
Field Detail
-
certificate
public CertificateConfig certificate
The server certificate configuration.
-
cipherSuites
@ConfigItem public Optional<List<String>> cipherSuites
The cipher suites to use. If none is given, a reasonable default is selected.
-
protocols
@DefaultConverter @ConfigItem(defaultValue="TLSv1.3,TLSv1.2") public List<String> protocols
The list of protocols to explicitly enable.
-
sni
@ConfigItem(defaultValue="false") public boolean sni
Enables Server Name Indication (SNI), an TLS extension allowing the server to use multiple certificates. The client indicate the server name during the TLS handshake, allowing the server to select the right certificate.
-
-