-
Notifications
You must be signed in to change notification settings - Fork 678
Closed
Description
Problem description
I`m using
credentials = grpc.credentials.createSsl(null, null, null, {
rejectUnauthorized: false
});
to pass self signed certifacate check. After upgrading to version 1.13.0 my code produces error:
14 UNAVAILABLE: No connection established. Last error: DEPTH_ZERO_SELF_SIGNED_CERT
Reproduction steps
Use code like this to connect to service with self signed certificate:
const credentials = grpc.credentials.createSsl(null, null, null, {
rejectUnauthorized: false
})
const svc = new grpcPkg[pkg_name][service_name](options.addr, credentials, {})
svc[method]({}, (err, res) => {})
Environment
- OS name, version and architecture: [e.g. Linux Ubuntu 18.04 amd64]
- Node version [e.g. 8.10.0]
- Node installation method [e.g. nvm]
- If applicable, compiler version [e.g. clang 3.8.0-2ubuntu4]
- Package name and version [e.g. [email protected]]
OS: Linux Debian
Node: v18.16.1
@grpc/grpc-js 1.13.0
Additional context
Metadata
Metadata
Assignees
Labels
No labels