Fixed SSL certificate validation (again)