* Sebastian Bölling <
sebastian...@gmail.com> [2021-09-09 14:50]:
> My IdP wants to change his certificate, which is used to signing
> assertions, frequently. What is the preferred method to change the
> certificate in my metadata/saml20-idp-remote.php without downtime
> for users who want to authenticate and use my application?
Since you're asking about the preferred method: There is definitively
one but that requires the IDP to do a proper key rollover, as Patrick
said.
That means first adding the new certificate from their new signing key
pair to their metadata (or telling you to do the same, manually),
waiting for this to propagate (or been done manually) at all the SPs
using their IDP, and then switching over to signing with the new key
(matching the newly distributed certificate) at their own leasure --
without requiring close synchronisation with any of the SPs.
After a while the IDP can remove the old cert from its metadata (or
tell all SPs to remove the old cert from the IDP metadata manually) to
clean up and finalise the key rollover.
If you're looking for more info on that try a web search for "key
rollover" and possibly the terms "InCommon" or "SWITCH". You should
find instructions and conceptual descriptions, even if those may be
talking about different SAML implemenatations ("Shibboleth").
-peter