log cert errors