insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Adds support for gRPC mTLS

Open jackkav opened this issue 1 year ago • 0 comments

todo

  • [x] update grpc-js to include rejectUnauthorized
  • [x] wire up certs and setting
  • [x] add test server with working TLS
  • [ ] figure out why rejectUnauthorized doesn't seem to work the same at for https
  • [ ] figure out why testing with rootCA.cert and client certs gives 14 ECONNRESET

when trying to connect over the wrong channelcredentials you get error 14 if you try to use grpcs and createSecureChannel with rejectUnuathorise off, you get the error below 14 No connection established. Last error: 1322851578048:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:592:SSL alert number 40 (2024-10-07T10:32:48.409Z)

related #7248

https://itnext.io/how-to-setup-and-test-tls-in-grpc-grpc-web-1b67cc4413e6

closes INS-4536

jackkav avatar Sep 24 '24 11:09 jackkav