{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-generate-selfsigned-cert-request-schema.json",
  "title": "GenerateSelfsignedCertRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-certificates-api-openapi.yml#/components/schemas/GenerateSelfsignedCertRequest",
  "required": [
    "allowExtendedValidity",
    "allowPortalTagTransferForSameSubject",
    "allowReplacementOfCertificates",
    "allowReplacementOfPortalGroupTag",
    "allowRoleTransferForSameSubject",
    "allowSanDnsBadName",
    "allowSanDnsNonResolvable",
    "digestType",
    "expirationTTL",
    "expirationTTLUnit",
    "hostName",
    "keyLength",
    "keyType"
  ],
  "type": "object",
  "properties": {
    "admin": {
      "type": "boolean",
      "description": "Use certificate to authenticate the Cisco ISE Admin Portal",
      "exampleSetFlag": true
    },
    "allowExtendedValidity": {
      "type": "boolean",
      "description": "Allow generation of self-signed certificate with validity greater than 398 days",
      "exampleSetFlag": true
    },
    "allowPortalTagTransferForSameSubject": {
      "type": "boolean",
      "description": "Allow overwriting the portal tag from matching certificate of same subject",
      "exampleSetFlag": true
    },
    "allowReplacementOfCertificates": {
      "type": "boolean",
      "description": "Allow Replacement of certificates",
      "exampleSetFlag": true
    },
    "allowReplacementOfPortalGroupTag": {
      "type": "boolean",
      "description": "Allow Replacement of Portal Group Tag",
      "exampleSetFlag": true
    },
    "allowRoleTransferForSameSubject": {
      "type": "boolean",
      "description": "Allow transfer of roles for certificate with matching subject",
      "exampleSetFlag": true
    },
    "allowSanDnsBadName": {
      "type": "boolean",
      "description": "Allow usage of SAN DNS Bad name",
      "exampleSetFlag": true
    },
    "allowSanDnsNonResolvable": {
      "type": "boolean",
      "description": "Allow use of non resolvable Common Name or SAN Values",
      "exampleSetFlag": true
    },
    "allowWildCardCertificates": {
      "type": "boolean",
      "description": "Allow Wildcard Certificates",
      "exampleSetFlag": true
    },
    "certificatePolicies": {
      "type": "string",
      "description": "Certificate Policies",
      "exampleSetFlag": true
    },
    "digestType": {
      "type": "string",
      "description": "Digest to sign with",
      "exampleSetFlag": true,
      "enum": [
        "SHA-256",
        "SHA-384",
        "SHA-512"
      ]
    },
    "eap": {
      "type": "boolean",
      "description": "Use certificate for EAP protocols that use SSL/TLS tunneling",
      "exampleSetFlag": true
    },
    "expirationTTL": {
      "type": "integer",
      "description": "Certificate expiration value",
      "format": "int32",
      "exampleSetFlag": true
    },
    "expirationTTLUnit": {
      "type": "string",
      "description": "Certificate expiration unit",
      "exampleSetFlag": true,
      "enum": [
        "days",
        "months",
        "weeks",
        "years"
      ]
    },
    "hostName": {
      "type": "string",
      "description": "Hostname of the Cisco ISE node in which self-signed certificate should be generated.",
      "exampleSetFlag": true
    },
    "keyLength": {
      "type": "string",
      "description": "Bit size of public key",
      "exampleSetFlag": true,
      "enum": [
        "1024",
        "2048",
        "4096",
        "512"
      ]
    },
    "keyType": {
      "type": "string",
      "description": "Algorithm to use for certificate public key creation",
      "exampleSetFlag": true,
      "enum": [
        "ECDSA",
        "RSA"
      ]
    },
    "name": {
      "type": "string",
      "description": "Friendly name of the certificate.",
      "exampleSetFlag": true
    },
    "portal": {
      "type": "boolean",
      "description": "Use for portal",
      "exampleSetFlag": true
    },
    "portalGroupTag": {
      "type": "string",
      "description": "Set Group tag",
      "exampleSetFlag": true
    },
    "pxgrid": {
      "type": "boolean",
      "description": "Use certificate for the pxGrid Controller",
      "exampleSetFlag": true
    },
    "radius": {
      "type": "boolean",
      "description": "Use certificate for the RADSec server",
      "exampleSetFlag": true
    },
    "saml": {
      "type": "boolean",
      "description": "Use certificate for SAML Signing",
      "exampleSetFlag": true
    },
    "sanDNS": {
      "type": "array",
      "description": "Array of SAN (Subject Alternative Name) DNS entries",
      "exampleSetFlag": true,
      "items": {
        "type": "string",
        "exampleSetFlag": false
      }
    },
    "sanIP": {
      "type": "array",
      "description": "Array of SAN IP entries",
      "exampleSetFlag": true,
      "items": {
        "type": "string",
        "exampleSetFlag": false
      }
    },
    "sanURI": {
      "type": "array",
      "description": "Array of SAN URI entries",
      "exampleSetFlag": true,
      "items": {
        "type": "string",
        "exampleSetFlag": false
      }
    },
    "subjectCity": {
      "type": "string",
      "description": "Certificate city or locality (L)",
      "exampleSetFlag": true
    },
    "subjectCommonName": {
      "type": "string",
      "description": "Certificate common name (CN)",
      "exampleSetFlag": true
    },
    "subjectCountry": {
      "type": "string",
      "description": "Certificate country (C)",
      "exampleSetFlag": true
    },
    "subjectOrg": {
      "type": "string",
      "description": "Certificate organization (O)",
      "exampleSetFlag": true
    },
    "subjectOrgUnit": {
      "type": "string",
      "description": "Certificate organizational unit (OU)",
      "exampleSetFlag": true
    },
    "subjectState": {
      "type": "string",
      "description": "Certificate state (ST)",
      "exampleSetFlag": true
    }
  },
  "exampleSetFlag": false
}