I have modify the script and used a loop to delete all expired
certificate using userUSER=$(dscl . list /Users | grep -v
'_\|nobody\|daemon\|root' | tail -n 1) # Grabs the expired certificate
hashesexpired=$(security find-identity | grep EXPIRED | aw...