Call generate certificate in start, issue #27