Muxi, Which override am I using for this method? Is there an example for Objective-C and SSL ?
On Friday, June 22, 2018 at 1:22:25 PM UTC-4, Rob Cecil wrote: > > I am developing both an iOS app and server using Grpc (objective-C/Swift > and C# respectively). > > The app will be naturally released to the Apple App Store. However, the > server is designed to reside within the user's corporate network, deploying > our Grpc C#-based product, which will require a self-signed certificate > strategy. > > That means we will not be bundling server certificates within the app > bundle - but need to pickup whatever certificates have been configured > (using profiles, EMM, etc.) and coordinating with their own servers. > > I am using the generated code approach for Objective-C, and > leveraging GRPCProtoService<T> services. > > My understanding is that by default, the Objective-C Grpc implementation > assumes secure SSL connections and you must use > > GRPCCall.useInsecureConnections(forHost:) > > to override that behavior. > > What I don't understand is how to use, if I even need to use, > GRPCCall.setTLSPEMRootCerts, in a situation when the server certificate is > not in the app bundle, but already on the device. > > Thanks. > -- 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/adceada2-ba02-49d3-bfb2-549b8901b685%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
