Closed flosch-dev closed 3 years ago
Your template does not contain 'keyUsage' extension (value 0 ). Thus, the function to generate the extension-list failed with the above error. I enhanced _kue_generate()
to cover such cases by defaulting to digitalSignature, nonRepudiation, keyEncipherment, keyAgreement
. Fix got already slotted into to 0.15 maintainance branch and will be available in master in a couple of days
I've tested template with key-usage set and now it works. Is there an overview of default signing attributes for xca handler?
Changes had been pushed to master. Default attributes are documented in the xca hander documentation
I've created a simple xca template which only includes extended key usage options, but cert issue fails with traceback. Template was referred in acme_srv.cfg using parameter:
template_name: acme
If I don't use the template, everything works.