Generate certificates and sign them.