-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mTLS connection fails with @grpc/grpc-js
and succeeds with grpc
#1784
Comments
Can you run your failing client with the environment variables |
Sure, here it is, thanks.
|
OK, the relevant error there is "unable to get issuer certificate". From what I can find, that means that there's some issue with the certificate chain or the CA certificates list. If you run your code with the environment variable |
Yes, so that was obvious. |
grpc-js just delegates the TLS functionality to Node's built in |
I'll look into it when I have more time, thanks for your help. |
Problem description
I've set up a golang server with mTLS using the sample from this repo: https://github.com/temporalio/customization-samples/tree/master/tls/tls-full
I can connect to the server with the golang client and the native
grpc
node client but not with@grpc/grpc-js
.I'm getting the following error with no further details:
Reproduction steps
cd tls/tls-full
bash generate-certs.sh
bash start-temporal.sh
tls-full
directoryEnvironment
@grpc/grpc-js@1.3.0
The text was updated successfully, but these errors were encountered: