fix country field validation on cert gen, closes #201