Pass in the custom certificate checks to the trust manager instead of using a distinct certificate validator.