---
updatedAt: 2025-11-10T23:54:09.000Z
agentTools:
  projectIndex: https://orka.readme.io/llms.txt
---

# Custom TLS Certificate upload

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "An API Server that serves as an efficient gateway for managing VMs, Nodes, Images, and more within Orka clusters.",
    "title": "Orka API Server",
    "contact": {},
    "version": "3.5.0"
  },
  "paths": {
    "/api/v1/upload/cert": {
      "post": {
        "security": [
          {
            "BearerTokenAuth": []
          }
        ],
        "tags": [
          "Configuration"
        ],
        "summary": "Custom TLS Certificate upload",
        "operationId": "certUpload",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "certPath": {
                    "description": "The certificate body in PEM format.",
                    "type": "string",
                    "format": "binary"
                  },
                  "keyPath": {
                    "description": "The key body in PEM format.",
                    "type": "string",
                    "format": "binary"
                  }
                },
                "required": [
                  "certPath",
                  "keyPath"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerTokenAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```