@@ -22,6 +22,40 @@ ssl-config {
2222 # The enabled protocols. If empty, uses the platform default.
2323 enabledProtocols = ["TLSv1.3", "TLSv1.2"]
2424
25+ # The hostname verifier class.
26+ # If non null, should be the fully qualify classname of a class that implements HostnameVerifier,
27+ # otherwise the default will be used.
28+ #
29+ # BE AWARE:
30+ # This config is kept for compatibilby only and is NOT used by:
31+ # - SSL Config itself
32+ # - Play WS
33+ # This config is used by the following 3rd party libraries and their versions:
34+ # - Pekko < v2, Pekko HTTP < v2
35+ # - Akka <= v2.8, Akka HTTP <= v10.5
36+ #hostnameVerifierClass = null
37+
38+ #sslParameters {
39+ #
40+ # BE AWARE:
41+ # These configs are kept for compatibilby only and are NOT used by:
42+ # - SSL Config itself
43+ # - Play WS
44+ # These config are used by the following 3rd party libraries and their versions:
45+ # - Pekko HTTP < v2
46+ # - Akka HTTP <= v10.5
47+ #
48+ # # translates to a setNeedClientAuth / setWantClientAuth calls
49+ # # "default" – leaves the (which for JDK8 means wantClientAuth and needClientAuth are set to false.)
50+ # # "none" – `setNeedClientAuth(false)`
51+ # # "want" – `setWantClientAuth(true)`
52+ # # "need" – `setNeedClientAuth(true)`
53+ # clientAuth = "default"
54+ #
55+ # # protocols (names)
56+ # protocols = []
57+ #}
58+
2559 # Configuration for the key manager
2660 keyManager {
2761 # The key manager algorithm. If empty, uses the platform default.
@@ -82,6 +116,32 @@ ssl-config {
82116 # If non null, overrides the platform default for whether unsafe renegotiation should be allowed.
83117 allowUnsafeRenegotiation = null
84118
119+ # Whether hostname verification should be disabled
120+ #
121+ # BE AWARE:
122+ # This config is kept for compatibilby only and is NOT used by:
123+ # - SSL Config itself
124+ # - Play WS
125+ # This config is used by the following 3rd party libraries and their versions:
126+ # - Pekko < v2, Pekko HTTP < v2
127+ # - Akka <= v2.8, Akka HTTP <= v10.5
128+ # - Gigahorse (https://github.com/eed3si9n/gigahorse)
129+ #disableHostnameVerification = false
130+
131+ # Whether the SNI (Server Name Indication) TLS extension should be disabled
132+ # This setting MAY be respected by client libraries.
133+ #
134+ # https://tools.ietf.org/html/rfc3546#sectiom-3.1
135+ #
136+ # BE AWARE:
137+ # This config is kept for compatibilby only and is NOT used by:
138+ # - SSL Config itself
139+ # - Play WS
140+ # This config is used by the following 3rd party libraries and their versions:
141+ # - Pekko < v2, Pekko HTTP < v2
142+ # - Akka <= v2.8, Akka HTTP <= v10.5
143+ #disableSNI = false
144+
85145 # Whether any certificate should be accepted or not
86146 acceptAnyCertificate = false
87147 }
0 commit comments