In the identity server samples we find code like this in Startup.cs
Startup.cs
var certFile = env.ApplicationBasePath + \"\\\\idsrv3test.pfx\"; var signingCer
Here is how I load it from a thumbprint in my config: Click here to see image