{ "id":"/axapi/v3/pki", "type":"object", "node-type":"intermediate", "title":"pki", "operation-not-allowed": ["PUT", "POST", "DELETE"], "auto-created-object":1, "description":"PKI Commands", "properties":{ "copy-cert":{ "type":"object", "$ref":"/axapi/v3/pki/copy-cert", "properties":{ "src-cert":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Source certificate file" }, "rotation":{ "type":"number", "format":"number", "minimum":1, "maximum":4, "description":"Specify rotation number of SCEP generated certificate file" }, "dest-cert":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Destination certificate file" }, "overwrite":{ "type":"number", "format":"flag", "default":0, "description":"Overwrite the destination file if already present" } } }, "copy-key":{ "type":"object", "$ref":"/axapi/v3/pki/copy-key", "properties":{ "src-key":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Source key file" }, "rotation":{ "type":"number", "format":"number", "minimum":1, "maximum":4, "description":"Specify rotation number of SCEP generated key file" }, "dest-key":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Destination key file" }, "overwrite":{ "type":"number", "format":"flag", "default":0, "description":"Overwrite the destination file if already present" } } }, "delete":{ "type":"object", "$ref":"/axapi/v3/pki/delete", "properties":{ "cert-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Certificate file name" }, "ca":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"CA certificate file name" }, "private-key":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"Private key file name" }, "crl":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "description":"CRL file name" } } }, "create-oper":{ "type":"object", "$ref":"/axapi/v3/pki/create-oper", "properties":{ "filename":{ "type":"string", "format":"string", "minLength":1, "maxLength":255 }, "bits":{ "type":"string", "format":"enum", "default":"1024", "description":"'1024': 1024; '2048': 2048; '4096': 4096; ", "enum":[ "1024", "2048", "4096" ] }, "common-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":64 }, "valid-days":{ "type":"number", "format":"number", "minimum":30, "maximum":3650, "default":730 }, "division":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63 }, "organization":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63 }, "locality":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63 }, "state-province":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31 }, "country":{ "type":"string", "format":"string", "minLength":2, "maxLength":3 }, "email":{ "type":"string", "format":"email-addr", "minLength":1, "maxLength":64 }, "csr-generate":{ "type":"number", "format":"flag", "default":0 } } }, "delete-oper":{ "type":"object", "$ref":"/axapi/v3/pki/delete-oper", "properties":{ "filename":{ "type":"string", "format":"string", "minLength":1, "maxLength":255 } } }, "ssl-cert":{ "type":"object", "$ref":"/axapi/v3/pki/ssl-cert", "properties":{ "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "ssl-ca-cert":{ "type":"object", "$ref":"/axapi/v3/pki/ssl-ca-cert", "properties":{ "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } } } }