-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
Type: bugSomething isn't workingSomething isn't working
Description
Describe the bug, including details regarding any error messages, version, and platform.
Client is able to connect to GRPC_TLS flight server with GRPC_INSECURE
Even though the flight server was created with GRPC_TLS the client is able to connect with GRPC_INSECURE
Is this by design or is it a defect ?
Note that the Client is passing the correct client certificates.
The server is created like this :
Location location = Location.forGrpcTls("localhost", serverPort);
server = FlightServer.builder(allocator, location, new TestingArrowProducer(allocator))
.useTls(certChainFile, privateKeyFile)
.useMTlsClientVerification(caCertFile)
.build();
server.start()
In this test case file, if we change this line from
.put("arrow-flight.server-ssl-enabled", "true")
to
.put("arrow-flight.server-ssl-enabled", "false")
the test cases still pass.
command to just run the test case : ./mvnw clean install test -pl presto-base-arrow-flight -Dtest=TestArrowFlightMtls
(this requires building presto before hand)
Component(s)
Java
Metadata
Metadata
Assignees
Labels
Type: bugSomething isn't workingSomething isn't working