Shibboleth

Some of our ReSeeD instances use Shibboleth for login. This has the following requirements:

In theory, we could use Let's Encrypt certificates, but because the TLS certificate must be manually configured on the IDP side, we use GEANT certificates, because those are valid for a whole year instead of only 90 days.

Certificate renewal

ReSeeD can currently only use a single certificate for Shibboleth, but the Shibboleth IDPs with which our ReSeeD instances interact support multiple certificates per SP. Therefore, when renewing the certificate, the ideal process is as follows:

  1. Request/Obtain a new certificate, and prepare an updated .env file and an updated nginx config to use that new certificate, but do not use/enable both updated configs just yet. Do this a few days before the old ReSeeD/SP certificate expires, because in some Shibboleth federations, it may take 24h for a new certificate to propagate throughout all member IDPs in the federation.
  2. Ask your local IDP admin to add the new certificate to their IDP/the IDP federation. For this, you will usually have to provide them with the following information:
    • the certificate itself (only the leaf certificate in PEM format, without trust chain and without private key),
    • the entityID of your ReSeeD instance (this is the SAML_SP_ID variable from the .env file),
    • the IDP that you use (this is the SAML_IDP_SERVICE_URL variable from the .env file).
  3. After they have added the new cert to the IDP / IDP federation, wait 24h before actually switching the nginx config and the .env file to the new certificate, because in some Shibboleth federations, it can take up to 24h until all member IDPs have fetched the current metadata (which includes the SP certificate that the ReSeeD instances uses).
  4. Test everything, then inform your local IDP admin that the old certificate can now be removed from the IDP/Shibboleth federation.