Sustainsys / Saml2

Saml2 Authentication services for ASP.NET
Other
940 stars 606 forks source link

Support dynamically updating the ServiceCertificates during rollover (ASP.NET Core) #1447

Open chwallen opened 3 months ago

chwallen commented 3 months ago

We are using rolling certificates with quite short validity periods (60 - 90 days). In order for the rollover to take effect in the metadata, we need to restart our service as the certificates are loaded once from disk during AddSaml2. If the Certificate property of ServiceCertificate was virtual, or the ServiceCertificateCollection would use IServiceCertificates instead, we could easily implement this in a subclass.

Environment:

AndersAbel commented 2 months ago

Reopening and adding as a possible future feature to consider for v3.