I have the following scenario:
When the leaf certificate expires, the intermediate certificate is checked and if the intermediate is not expired, the application will keep running and will not be affected, while the leaf is getting updated.
It is like adding a condition to check the validity of the intermediate certificate in the step of checking the validity of the leaf certificate.
Is something like this possible? If so, will there be any security problems with doing this?