Hi,

I need help. 

I was trying to add certificate to grpc service and to remove the default 
localhost when you access the service.

gRpc service is written in c#, and i was trying to use this type of cert 
*.bml.com see code below

webBuilder.ConfigureKestrel(server =>

                    {

                        server.Listen(IPAddress.Loopback, 5001, 
listenOptions =>

                        {

                            listenOptions.Protocols = HttpProtocols.Http2;

                            listenOptions.UseHttps("bml.pfx", "testabc");

                        });

                    });


even with the certificate configured, when i access the service its still 
https://localhost:5001, and i want to change it to 
https://apiservice.bml.com:5001



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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7878f30e-44db-4a4e-b0d6-bc65eb7ab2e3%40googlegroups.com.

Reply via email to