There were a lot of Github discussions regarding TLS on Android/Okhttp. This document <https://github.com/grpc/grpc-java/blob/master/SECURITY.md> has some high-level discussion about gRPC with TLS in general.
This Github issue <https://github.com/grpc/grpc-java/issues/6374> contains fair amount of useful information for using TLS on Android/Okhttp. There are solid code snippets for TLS configurations in the comments and that user eventually got things to work. We may add an example for using TLS on Android/Okhttp (existing one uses netty, which doesn't work for Android) soon. Please stay tuned. On Thursday, April 9, 2020 at 2:19:35 PM UTC-7 [email protected] wrote: > Hello! > > I've got a question for those of you who've got a gRPC server running on > Android: Did you manage to get TLS to work, and if so, how? > > We've got the server to work on Android using Netty but the only thing > that doesn't work is TLS and we've narrowed it down to Netty requiring > Java >= 8 when using conscrypt > <https://github.com/netty/netty/blob/2b14775446f3f3937ddd6eb6bd7b22686810908f/handler/src/main/java/io/netty/handler/ssl/Conscrypt.java#L59>, > > but Android reports Java 6. > > Cheers, > > Gus. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b3ba48b3-5150-4bd5-85cf-770e4409d89d%40googlegroups.com.
