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]> 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].
> 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/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/CAPK2-4eUUmHU0dwPmiD9raM_qO2pNoB1XbWPb6F4ytzat_xe%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to