Filter out more then just spaces and new lines in the certData