Certificate Authority work

This commit is contained in:
Jamie Curnow
2021-07-29 17:45:14 +10:00
parent ae00ab09e4
commit 339ee13346
35 changed files with 737 additions and 136 deletions

View File

@@ -7,7 +7,11 @@
"created_on",
"modified_on",
"name",
"acme2_url"
"acmesh_server",
"ca_bundle",
"max_domains",
"is_wildcard_supported",
"is_setup"
],
"properties": {
"id": {
@@ -27,10 +31,25 @@
"minLength": 1,
"maxLength": 100
},
"acme2_url": {
"acmesh_server": {
"type": "string",
"minLength": 8,
"minLength": 2,
"maxLength": 255
},
"ca_bundle": {
"type": "string",
"minLength": 0,
"maxLength": 255
},
"max_domains": {
"type": "integer",
"minimum": 1
},
"is_wildcard_supported": {
"type": "boolean"
},
"is_setup": {
"type": "boolean"
}
}
}

View File

@@ -49,6 +49,9 @@
"type": "integer",
"minimum": 0
},
"certificate_authority": {
"$ref": "#/components/schemas/CertificateAuthorityObject"
},
"dns_provider_id": {
"type": "integer",
"minimum": 0