Step 4 - Generate client certificates on IIS Express

Now TodoListService and TodoListWebApp will talk over a secure channel. To establish a secure channel, ToDoListWebApp needs to trust the client certificate. Both services are hosted on the same machine and run on IIS Express.

To configure your computer to trust the IIS Express SSL certificate, open the PowerShell command window as the administrator. Query your personal certificate store to find the thumbprint of the certificate for CN=localhost:

PS C:windowssystem32> dir Cert:LocalMachineMyDirectory: Microsoft.PowerShell.SecurityCertificate::LocalMachineMyThumbprint                                Subject----------                                -------C24798908DA71693C1053F42A462327543B38042  CN=localhost

Next, add the certificate to the ...

Get Building Microservices with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.