Repository navigation
External Cert reseller #440
Replies: 2 comments
|
Hi! Yes, this works today through the API.
cat cert.pem key.pem > bundle.pem
curl -sS -H "X-API-Key: $UCM_API_KEY" -F file=@bundle.pem \
https://ucm.example.com:8443/api/v2/certificates/importA few notes:
All fields and status codes are now documented in the wiki: API Reference: Import Certificate. |
|
Follow-up: this is now automatic in v2.253. When Re-importing the same certificate (same serial) changes nothing and queues nothing, so the import step stays safe to run repeatedly. |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I bought my certificate from a reseller, and they don't support ACME.
I need to run a Bash script to generate the certificate and private key. The certificate chain and the certificate files are stored in a folder on my server.
So, I need to upload this certificate to the UCM and replace the previous one before running my deployment script.
Is this possible?
Do you have any documentation explaining how to upload a certificate through the API?
All reactions