Perform cert expiry checks when connection is made.