This commit changes to API a bit. The following renames were done: * csr-path => csr * ca => is-ca The following option was added * ca With that option it is now possible to add a certificate to sign the newly created certificate.
With this option added, it is now possible to add crl urls to the certificates.
This moves the complicated certificate flag handling into its own file to make it a bit easier to handle.