display warnings if local certificate is used before validity or after expiration