I’d say that messages about an invalid certificate must be related to a https connections, i.e. the http mask most likely wouldn’t match.