---
updatedAt: 2026-07-02T12:22:01.000Z
agentTools:
  projectIndex: https://developer.arubanetworks.com/cppm/v6.11.0/llms.txt
---

# Add a server certificate

Add a server certificate

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "6.11.0",
    "title": "Platform Certificates",
    "contact": {}
  },
  "paths": {
    "/server-cert/name/{server_uuid}/{service_name}": {
      "put": {
        "summary": "Add a server certificate",
        "description": "Add a server certificate",
        "operationId": "ServerCertNameByServer_uuidByService_namePut",
        "deprecated": false,
        "parameters": [
          {
            "name": "server_uuid",
            "in": "path",
            "required": true,
            "description": "UUID of the server",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service_name",
            "in": "path",
            "required": true,
            "description": "Service name (RADIUS, HTTPS(RSA), HTTPS(ECC) or RadSec) ",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServerCertReplace"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerCertResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "304": {
            "description": "Not Modified",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "415": {
            "description": "Unsupported Media Type",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "tags": [
          "ServerCert"
        ],
        "security": []
      }
    }
  },
  "tags": [
    {
      "name": "ServerCert",
      "description": "Manage Server Certificates"
    }
  ],
  "x-explorer-enabled": false,
  "x-samples-enabled": true,
  "x-headers": [
    {
      "key": "Authorization",
      "value": "Bearer <TOKEN>"
    }
  ],
  "servers": [
    {
      "url": "https://clearpass-hostname/api"
    }
  ],
  "components": {
    "schemas": {
      "ServerCertResult": {
        "title": "ServerCertResult",
        "type": "object",
        "properties": {
          "service_id": {
            "description": "Service ID of the server certificate(1-RADIUS server cert, 2-HTTPS(ECC) server cert, 7-HTTPS(RSA) server cert,21-RadSec server cert and 106-Database server cert)",
            "format": "int64",
            "type": "integer"
          },
          "service_name": {
            "description": "Service Name of the server certificate(RADIUS, HTTPS(ECC), HTTPS(RSA), RadSec or Database)",
            "type": "string"
          },
          "certificate_type": {
            "description": "Type of the server certificate",
            "type": "string"
          },
          "subject": {
            "description": "Subject of the server certificate ",
            "type": "string"
          },
          "expiry_date": {
            "description": "Expiry date of the server certificate ",
            "type": "string"
          },
          "issue_date": {
            "description": "Issue date of the server certificate",
            "type": "string"
          },
          "issue_by": {
            "description": "server certificate issued by",
            "type": "string"
          },
          "validity": {
            "description": "Validity of the server certificate ",
            "type": "string"
          },
          "public_key_algorithm": {
            "description": "Public Key Algorithm of Certificate.",
            "type": "string"
          },
          "enabled": {
            "description": "Enabled State of the certificate.",
            "type": "boolean"
          },
          "root_ca_cert": {
            "description": "Root CA Certificate",
            "type": "object"
          },
          "intermediate_ca_cert": {
            "description": "Intermediate CA Certificate",
            "type": "array",
            "items": {}
          },
          "cert_file": {
            "description": "Certificate File",
            "type": "string"
          }
        },
        "required": [
          "service_id",
          "service_name",
          "certificate_type",
          "subject",
          "expiry_date",
          "issue_date",
          "issue_by",
          "validity",
          "root_ca_cert",
          "intermediate_ca_cert",
          "cert_file"
        ]
      },
      "ServerCertReplace": {
        "title": "ServerCertReplace",
        "type": "object",
        "properties": {
          "certificate_url": {
            "description": "Certificate File URL",
            "type": "string"
          },
          "pkcs12_file_url": {
            "description": "PKCS12 File URL",
            "type": "string"
          },
          "pkcs12_passphrase": {
            "description": "PKCS12 passphrase",
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```