Skip to content

Commit

Permalink
Handle correctly server client auth
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Sep 18, 2023
1 parent 9c36ffa commit 25a0d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private ActualServer(VertxInternal vertx,
try {
SSLHelper helper = new SSLHelper(SSLHelper.resolveEngineOptions(options.getSslEngineOptions(), true));
SslChannelProvider scp = helper
.resolveSslChannelProvider(options.getSslOptions(), "", false, null, Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other)
.resolveSslChannelProvider(options.getSslOptions(), "", false, options.getClientAuth(), Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other)
.toCompletionStage()
.toCompletableFuture()
.toCompletableFuture().get(1, TimeUnit.MINUTES);
Expand Down

0 comments on commit 25a0d4e

Please sign in to comment.