Fix StackOverFlow on certificate method

This fix the issue: https://code.google.com/p/rest-assured/issues/detail?id=262