diff --git a/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java b/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java index a01b85f..72ae0ea 100644 --- a/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java +++ b/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java @@ -287,7 +287,7 @@ public ManagedChannel build() { SslContextProvider provider; try { // options, Collections.singletonList(HttpVersion.HTTP_2.alpnName()) - SslContextManager helper = new SslContextManager(NetServerImpl.resolveEngineOptions(options.getSslEngineOptions(), true)); + SslContextManager helper = new SslContextManager(SslContextManager.resolveEngineOptions(options.getSslEngineOptions(), true)); provider = helper .resolveSslContextProvider(options.getSslOptions(), "", null, Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other) .toCompletionStage() diff --git a/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java b/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java index a6b773b..19e4573 100644 --- a/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java +++ b/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java @@ -76,7 +76,7 @@ private ActualServer(VertxInternal vertx, ContextInternal other = vertx.createWorkerContext(); SslContextProvider provider; try { - SslContextManager helper = new SslContextManager(NetServerImpl.resolveEngineOptions(options.getSslEngineOptions(), true)); + SslContextManager helper = new SslContextManager(SslContextManager.resolveEngineOptions(options.getSslEngineOptions(), true)); provider = helper .resolveSslContextProvider(options.getSslOptions(), "", options.getClientAuth(), Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other) .toCompletionStage()