Generate a certificate through API

1. It's possible to generate a certificate through API now
2. Small changes in README