Looking for Hello world example that uses SSL/TLS
See original GitHub issueLooking for usage example(s) demonstrating the 2nd and 3rd parameters for the ctor of the generated client:
let apiClient = new APIServicePromiseClient(hostAndPort, null, null);
defined as:
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: string; });
I’m looking for a way to establish an ssl Credential object, but not sure if is the same API as in the gRPC docs for Nodejs.
The followup on
https://github.com/grpc/grpc-web/issues/40 https://github.com/grpc/grpc-web/pull/125
has not progressed.
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
What happens in a TLS handshake? | SSL ... - Cloudflare
A TLS handshake enables clients and servers to establish a secure connection and create session keys. Learn more about how a TLS vs...
Read more >How to Use SSL/TLS with Node.js - SitePoint
In this tutorial, I'll walk you through a practical example of how to add a Let's Encrypt–generated certificate to your Express.js server.
Read more >Simple TLS Server - OpenSSLWiki
The first thing we do is create an SSL_CTX or SSL context. This is created using the TLS_server_method which creates a server that...
Read more >Sample Code Illustrating a Secure Socket Connection ...
The example SSLSocketClient.java demonstrates how to create a client that uses an SSLSocket to send an HTTP request and to get a response...
Read more >How to run the Hello World API with Mutual SSL on Postman
In this "How-to" guide we will show you how to run the Visa Hello World API with Two-Way SSL (Mutual Authentication) on Postman....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any progress on this? Looking for a simple example that makes grpc-web calls over TLS (browser-to-envoy TLS)
How can there be a trust established between my application in the browser and envoy in this case? In case of client certificate, shouldn’t my application be adding the certificate and envoy passing it on upstream? Much like using the CURLOPT_SSLCERT option to add a client certificate.