remove a lot of if/elif chains in the certificate builder
3 files changed