Refactor 'ssl cert in place' to remove duplication.
Check the certs are up-to-date.