services.AddDataProtection()
.SetApplicationName("Report Book Resource Server")
.PersistKeysToFileSystem(new DirectoryInfo(folderForKeyStore))
.ProtectKeysWithCertificate(cert);
The last line ".ProtectKeysWithCertificate(cert);" returns error. However the tutorial here doesnt. I cant figure out why the method "ProtectKeysWithCertificate()" is returning. I will appreciate it very much if anybody out there could indulge me.
Thanks
Looks like ProtectKeysWithCertificate is not available in .NET Core. Here is Damien's discussion on Twitter: https://twitter.com/damien_bod/status/698975038142353408
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With