Hey all,
Really excited by the REST API; I've been keen to implement Let's Encrypt for a while now and this has really opened the door to it.
I've been making some good progress, but I'm just looking to add my new certificate to the UTM, and having trouble posting the key.
I'm getting the error 'The X509 certificate with private key object requires text data for the private key attribute.'
Does anyone know what format the key needs to be in for the API to accept it? I've been trying to post it as the normal '-----BEGIN PRIVATE KEY-----' etc block (as seen when I do a GET on that same endpoint) but not having much luck.
Secondly, I note that the 'meta' reference needs to be populated; am I correct in my current process of first posting a new meta record, then using the corresponding ref when I go to add the actual certificate (with host_key_cert)?
Thanks!
This thread was automatically locked due to age.