Fix ssl/crt unit tests