Issue a certificate with the API
$ curl -X POST https://www.securitls.com/api/certificates \
-H "Authorization: Bearer $SECURITLS_JWT" \
-H "Content-Type: application/json" \
-d '{
"commonName": "api.internal.example",
"type": "leaf",
"signer": "6a39e9de9d46b16778b41ff0",
"expireIntervalDays": 365
}'
✓ Leaf certificate issued and encrypted in storage
{
"type": "Certificate",
"level": "leaf",
"status": "valid",
"commonName": "api.internal.example",
"serial": "6233eb57507dae8256336df99ce81589",
"notAfter": "2027-06-23T02:15:09.580Z"
}
✓ Renewal tracked · audit event recorded
↳ Ready for deployment and TLS/file validation