POST /api/certificate
Body: {"Domains":["foo.com", "bar.com"], "Email": "farts@howardisaslut.com"}
Where domains is all domains that should be covered by this TLS cert, and email is the email to register with for Let's Encrypt/ACME (the email expiry notifications and other notices will be sent to by Let's Encrypt).
The first domain in the array is used as the "Common Name" for this certificate.
Response object contains a newly generated ID for this cert.
Get a certificate
GET /api/certificate/{id}
Where ID is the generated ID on creation of a cert. Lists whether the cert has been issued or if there was an error. Also lists expiry on currently issued cert.
Create new certificate object
POST /api/certificate Body: {"Domains":["foo.com", "bar.com"], "Email": "farts@howardisaslut.com"}
Where domains is all domains that should be covered by this TLS cert, and email is the email to register with for Let's Encrypt/ACME (the email expiry notifications and other notices will be sent to by Let's Encrypt).
The first domain in the array is used as the "Common Name" for this certificate.
Response object contains a newly generated ID for this cert.
Get a certificate
GET /api/certificate/{id}
Where ID is the generated ID on creation of a cert. Lists whether the cert has been issued or if there was an error. Also lists expiry on currently issued cert.
Get all certificates
GET /api/certificate
Returns all saved certificates.