While we want to move to .net core in the future, we would like to use grpc
with .net framework. However this needs PEM file during service start, is
there any workaround/solution that doesn't need PEM file? Also, why does
gRPC with .Net core not require the PEM file and why is PEM file only
needed when using gRPC with .Net framework?
SslServerCredentials sslServerCredentials = new
SslServerCredentials(new List<KeyCertificatePair>() { new
KeyCertificatePair(certificatePem, certificateKey) }, null, false);
Grpc.Core.Server server = new Grpc.Core.Server
{
Services = { service.BindService(new Server()) },
Ports = { new ServerPort(server.Host, server.Port,
sslServerCredentials) }
};
server.Start();
--
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/bd890fd6-19e7-4995-a3ee-5aab282dab5co%40googlegroups.com.