Thanks Michael, I've just tried that, and it worked.
On Monday, 28 August 2017 22:42:21 UTC+2, Michael Lumish wrote: > > If you just don't pass any arguments to the grpc.credentials.createSsl() > call, it will use the default certificate authority list, which should work > with most public servers. > > On Mon, Aug 28, 2017 at 1:33 PM <[email protected] <javascript:>> wrote: > >> Good day, >> >> I've always seen examples where a Nodejs client is either created as >> unsecured, or a TLS client certificate is provided. How does one create a >> secure JS client without any certificates? >> >> For example, the *.googleapis.com grpc endpoint documentation doesn't >> mention anything about needing certificates. I'm struggling to understand >> how I can connect to a grpc service from Nodejs with TLS while not >> providing certificates. >> >> With the Java client, I don't specify withPlainText, and it defaults to >> TLS. Is there a Nodejs alternative? >> >> Regards >> Neville >> >> -- >> You received this message because you are subscribed to the Google Groups >> "grpc.io" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/grpc-io. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/7f1a57cb-7800-4403-aebd-212c56e46a49%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/7f1a57cb-7800-4403-aebd-212c56e46a49%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/46dcdfaf-aadc-4846-a377-d0101a68816d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
