refs #5 refactor code
refs #5 temply finish creating cert