List certificates about to expire
From Tech-Wiki
In order to list certificates about to expire, type the following commands:
(tmos)# run sys crypto check-cert | grep 'will expired' | awk -F 'in file' '{print $2}' | awk -F ' GMT' '{print $1}'