-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
Expected Behavior
Similar to temporal we should be able to set the CA key and path:
String clientKeyPath = getenv("TEMPORAL_MTLS_PRIVATE_KEY_PATH");
String clientCertPath = getenv("TEMPORAL_MTLS_CERT_PATH");
try {
// Generate an SSL context
InputStream clientCertInputStream = new FileInputStream(clientCertPath);
InputStream clientKeyInputStream = new FileInputStream(clientKeyPath);
SslContext sslContext = SimpleSslContextBuilder.forPKCS8(clientCertInputStream, clientKeyInputStream).build();
// Set the Service Stub options (SSL context and gRPC endpoint)
WorkflowServiceStubsOptions stubsOptions = WorkflowServiceStubsOptions
.newBuilder()
.setSslContext(sslContext)
.setTarget(gRPCEndpoint)
.build();
Actual Behavior
If the app is behind a proxy with their own trust store the SDK needs to support setting the SSL context.
Steps to Reproduce the Problem
Release Note
RELEASE NOTE:
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working