Regenerating Key/Certificiate Pairs
IdP versions 2.3 and later
This will overwrite the key/certificate pair that your IdP uses. This means that when you restart the IdP it will not be able communicate with SPs until they update their metadata to reflect this change
If you need to regenerate the key material that your IdP uses to communicate with other SPs (for instance because of key compromise or Federation Operator's restrictions), you can do so by using a variant of the installation script.
- Change into the IdP distribution directory, shibboleth-identityprovider-VERSION. This is the directory you created when you installed last updates the IdP.
- Run either
./install.sh renew-cert(on Unix systems) or
install.bat renew-cert(on Windows systems).
- Respond to the prompts appropriately.
- Restart the IdP
The old key material will be saved in files ending in
You can change the lifetime of the self signed certificate by setting the environment variable
IdPCertLifetime to the number of years lifetime required