action maif_create_cert { label: "Create one certificate" description: "Create one certificate" provider: maif method: POST path: "/api/certificates" encoding: json input: { type: "object" description: "A SSL/TLS X509 certificate" required: ["autoRenew", "ca", "caRef", "chain", "domain", "from", "id", "privateKey", "selfSigned", "subject", "to", "valid"] properties: { autoRenew: { type: "string" description: "Allow Otoroshi to renew the certificate (if self signed)" } ca: { type: "string" description: "Certificate is a CA (read only)" } caRef: { type: "string" description: "Reference for a CA certificate in otoroshi" } chain: { type: "string" description: "Certificate chain of trust in PEM format" } domain: { type: "string" description: "Domain of the certificate (read only)" } from: { type: "string" description: "Start date of validity" } id: { type: "string" description: "Id of the certificate" } privateKey: { type: "string" description: "PKCS8 private key in PEM format" } selfSigned: { type: "string" description: "Certificate is self signed read only)" } subject: { type: "string" description: "Subject of the certificate (read only)" } to: { type: "string" description: "End date of validity" } valid: { type: "string" description: "Certificate is valid (read only)" } } } output: { type: "object" description: "A SSL/TLS X509 certificate" required: ["autoRenew", "ca", "caRef", "chain", "domain", "from", "id", "privateKey", "selfSigned", "subject", "to", "valid"] properties: { autoRenew: { type: "string" description: "Allow Otoroshi to renew the certificate (if self signed)" } ca: { type: "string" description: "Certificate is a CA (read only)" } caRef: { type: "string" description: "Reference for a CA certificate in otoroshi" } chain: { type: "string" description: "Certificate chain of trust in PEM format" } domain: { type: "string" description: "Domain of the certificate (read only)" } from: { type: "string" description: "Start date of validity" } id: { type: "string" description: "Id of the certificate" } privateKey: { type: "string" description: "PKCS8 private key in PEM format" } selfSigned: { type: "string" description: "Certificate is self signed read only)" } subject: { type: "string" description: "Subject of the certificate (read only)" } to: { type: "string" description: "End date of validity" } valid: { type: "string" description: "Certificate is valid (read only)" } } } }