instance-caucase-input-schema.json 2.95 KB
Newer Older
1 2 3
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
4
  "extends": "./schema-definitions.json#",
5 6 7
  "title": "Input Parameters",
  "properties": {
    "server-port": {
8 9 10 11 12 13 14 15 16 17
      "allOf": [
        {
          "$ref": "#/definitions/tcpv4port"
        },
        {
          "title": "http port to use",
          "description": "Caucase http port to use.",
          "default": 8009
        }
      ]
18 19
    },
    "server-https-port": {
20 21 22 23 24 25 26 27 28 29
      "allOf": [
        {
          "$ref": "#/definitions/tcpv4port"
        },
        {
          "title": "https port to use",
          "description": "Caucase port to use for https connexion.",
          "default": 8010
        }
      ]
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
    },
    "external-url": {
      "title": "External http url",
      "description": "External http url which point to caucase on http. This url will be added in signed certificate as CRL distribution point URI",
      "type": "string",
      "format": "uri"
    },
    "ca-subject": {
      "title": "Subject of CA Certificate",
      "description": "CA certificate subject as string. The format is: /C=XX/ST=State/L=City/OU=OUnit/O=Company/CN=CA Auth/emailAddress=xx@example.com. Only /CN is mandatory.",
      "type": "string",
      "default": "/C=FR/O=Company/CN=SlapOS Certificate Authority/emailAddress=xx@example.com"
    },
    "max-request-amount": {
      "title": "Number of pending csr to accept",
      "description": "Number of pending csr to accept. If this limit is reached, no more csr will be accepted by the CA.",
      "type": "integer",
      "default": 10
    },
    "crt-life-time": {
      "title": "Signed Certificate life time",
      "description": "The time in seconds before a generated certificate will expire. Default: 365*24*60*60 seconds (1 year)",
      "type": "integer",
      "default": 31536000,
      "minimum": 86400
    },
    "crl-life-period": {
      "title": "CRL life time period",
      "description": "Number of individual certificate validity periods during which the CRL is valid. Default: 1/50.0",
59
      "type": "number",
60 61 62 63 64
      "default": 0.2
    },
    "ca-life-period": {
      "title": "CA Certificate life period",
      "description": "Number of individual certificate validity periods during which the CA certificate is valid. Default: 10",
65
      "type": "number",
66 67 68 69 70 71 72
      "default": 10
    },
    "crt-keep-time": {
      "title": "Time before cleanup certificate content on CA",
      "description": "The time in seconds before a generated certificate will be deleted on CA server. Set 0 to never delete. Default: 30*24*60*60 seconds (30 days)",
      "default": 5184000,
      "type": "integer"
73 74 75 76 77 78 79
    },
    "auto-sign-csr-amount": {
      "title": "Number of CSR to sign automatically",
      "description": "The number of CSR to sign automatically at startup. Has no effect if there is more than the specified value of csr submitted to caucase. This value should be as lowest as possible",
      "default": 1,
      "minimum": 1,
      "type": "integer"
80 81
    }
  }
82
}