This should work in theory but I have not tried it myself:
https://github.com/grpc/grpc-java/issues/3887#issuecomment-358415785

The post discusses the okhttp channel builder targetting android, but the
netty channel builder has a similar setter for the SslContext.

On Thu, Jan 25, 2018 at 7:46 AM, <[email protected]> wrote:

> I created a new HelloWorld with TLS enabled example here:
> https://github.com/grpc/grpc-java/pull/3992
>
> So far I have only configured TLS. Not mutual TLS.
>
> What would be the steps to enable Mutual Auth in this example?
>
> The script added to https://github.com/grpc/grpc-java/pull/3992/files#
> diff-1c0f522a61adc59307209c8e0296db49R39 generates the cert files needed.
>
> But i'm confused where to add those changes to the java code?
>
>
> --
> 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/65f663c9-9fa4-4fbf-afb4-b771b7aa7d20%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/65f663c9-9fa4-4fbf-afb4-b771b7aa7d20%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Spencer Fang

-- 
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/CAK%3D-x_4YxvePccHG%2Bg6LzzxqYGuQDJTM-z5ZAR2U%2B2SFXQT5wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to