<p>I have 2 services deployed in Kubernetes</p>
<ol>
<li>Application A (asp.net core 5 gRPC service)</li>
<li>Application B (asp.net core 5 api)</li>
</ol>
<p>Application B is accessible via ingress-nginx-controller over https from out side of my cluster.</p>
<p>Application A is expose via Service and only accessible inside my cluster.</p>
<p>My question is how can I connect from Application B to Application A over SSL/TLS?</p>
<p><a href="https://i.stack.imgur.com/v1yKy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v1yKy.png" alt="enter image description here" /></a></p>

Hasanuzzaman
<p>For HTTPS communication, you can setup certificate with &quot;dotnet dev-certs https&quot;. Each pod will need setup self-signed certificate on port 443, for development purpose, but not recommended.</p>
<p>However, GRPC actually can be use with HTTP based, with service mesh support for http2/grpc for service-to-service communication. These steps can be</p>
<ol>
<li><p>Call GRPC use HTTP</p>
<p><a href="https://learn.microsoft.com/en-us/aspnet/core/grpc/troubleshoot?view=aspnetcore-3.0#call-insecure-grpc-services-with-net-core-client-2" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/aspnet/core/grpc/troubleshoot?view=aspnetcore-3.0#call-insecure-grpc-services-with-net-core-client-2</a></p>
</li>
<li><p>Setup Linkerd</p>
<p><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/meshing-with-linkerd2-using-grpc-enabled-net-core-services/ba-p/1377867" rel="nofollow noreferrer">https://techcommunity.microsoft.com/t5/azure-developer-community-blog/meshing-with-linkerd2-using-grpc-enabled-net-core-services/ba-p/1377867</a></p>
</li>
</ol>
<p>Hope this helps</p>
