Fixed build in "Configure ASP.NET Core Data Protection" (#22126)
parent
790dc85160
commit
a394a1aeb7
|
@ -141,8 +141,8 @@ public void ConfigureServices(IServiceCollection services)
|
|||
.ProtectKeysWithCertificate(
|
||||
new X509Certificate2("certificate.pfx", Configuration["MyPasswordKey"));
|
||||
.UnprotectKeysWithAnyCertificate(
|
||||
new X509Certificate2("certificate_old_1.pfx", Configuration["MyPasswordKey_1"),
|
||||
new X509Certificate2("certificate_old_2.pfx", Configuration["MyPasswordKey_2"));
|
||||
new X509Certificate2("certificate_old_1.pfx", Configuration["MyPasswordKey_1"]),
|
||||
new X509Certificate2("certificate_old_2.pfx", Configuration["MyPasswordKey_2"]));
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue