[*] The certificate generation has been changed, now user can't specify key...
[*] The certificate generation has been changed, now user can't specify key type and seed phrase when generating a certificate. And also the function returns None if the certificate could not be generated.