Added cert param checks for client