Fetch the current certificate, with its key when we hold one
For hostnames registered with certificate: "managed" or certificate: "csr". Returns the current chain and when it expires. private_key is present only on managed - on csr the key is yours and we never held it, so the field is absent rather than null.
Delivery is pull: we never connect to your infrastructure, so nothing is ever pushed to you. An expiring certificate is returned rather than withheld - a working agent keeps working through a renewal problem - and only an already-expired one is refused, because serving that would be worse than an error saying why.
A managed response contains a private key and is never cached: Cache-Control: no-store, private.
Request
- Base URL: https://dnsmint.com/api
- URL: https://dnsmint.com/api/v1/hostnames/{id}/certificate
- Auth: HTTP bearer
Path parameters
Response
The current certificate
Changes
No recorded changes to this operation across all 1 revision of this API.