Revised cert creation code
Merge pull request #20 from anzenehansen/master

Revised cert creation code