logging SSL errors