You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paolo Venturi edited this page Oct 1, 2019
·
3 revisions
API for Carapace Service
Carapace features a REST API for almost every action you can perform via Admin UI (get/update configuration, download/upload a certificate, etc...).
Root API URL at /api/.
Uploading an SSL Certificate
To upload a certificate (.p12 format) just perform a post request to /api/certificates/{domain}/upload: curl -k -X POST --data-binary @certificate.p12 https://user:pw@localhost:4001/api/certificates/testdomain/upload/ --user user:pw -H "Content-Type: application/octet-stream"