Skip to content

Commit f4014b6

Browse files
committed
Update to the TLS hostname verification algorithm changes.
1 parent 43578e3 commit f4014b6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

vertx-mssql-client/src/main/java/io/vertx/mssqlclient/impl/MSSQLSocketConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Future<Void> enableSsl(boolean clientConfigSsl, byte encryptionLevel, MSSQLConne
103103
// Do not perform hostname validation if the client did not require encryption
104104
options.setTrustAll(true);
105105
}
106+
options.setHostnameVerificationAlgorithm("");
106107

107108
// 2. Create and set up an SSLHelper and SSLHandler
108109
SSLHelper helper = new SSLHelper(options, options.getApplicationLayerProtocols());

vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/ConnectionFactoryBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ protected NetClient netClient(NetClientOptions options) {
5858
if (options.getClass() != NetClientOptions.class) {
5959
options = new NetClientOptions(options);
6060
}
61+
options.setHostnameVerificationAlgorithm("");
6162
JsonObject key = options.toJson();
6263
NetClient client;
6364
synchronized (this) {

0 commit comments

Comments
 (0)