Fix StackOverFlow on certificate method
Merge pull request #21 from douglasdedo/master

Fix StackOverFlow on certificate method