Skip to content
Snippets Groups Projects
Commit 142e95f3 authored by Hanna Führ's avatar Hanna Führ
Browse files

Update: Exchanging Coscine certificate - step 2 - new approach (coscine/issues#2147)

parent 76cbaf50
No related branches found
No related tags found
1 merge request!128Fix: Exchanging Coscine certificate - Step 2
......@@ -94,12 +94,8 @@ namespace Coscine.Api.STS
var pfx = Program.Configuration.GetAndWait("coscine/global/sts/pfx");
var passwordString = Program.Configuration.GetStringAndWait("coscine/global/sts/pfxpassword");
var pfx2022 = Program.Configuration.GetAndWait("coscine/global/sts/pfx2022");
var x509Certificate2 = new X509Certificate2(pfx, passwordString);
var x509Certificate2022 = new X509Certificate2(pfx2022);
options.SPOptions.ServiceCertificates.Add(x509Certificate2022);
options.SPOptions.ServiceCertificates.Add(x509Certificate2);
options.SPOptions.WantAssertionsSigned = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment