How can I add public and private keys for a certificate to a certificate template via ml-gradle
?
I'm trying to configure some new servers entirely via ml-gradle + DHF 5. I can set up the certificate templates by adding a configuration file to ml-config/security/certificate-templates
. I already have an SSL certificate for these servers, but can't figure out how to import them without using the admin web interface.
There is a REST endpoint for performing certificate operations at /manage/v2/certificate-templates/{id|name}, so I guess I just want to invoke that as part of the deployment process in the right order.