---
updatedAt: 2026-10-28T18:21:34.000Z
---

# Upload a certificate

Modifies a certificate.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Enterprise Application Access API",
    "url": "https://techdocs.akamai.com/eaa-api/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Certificates",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/mgmt-pop/certificates/{certificateId}/upload": {
      "post": {
        "description": "Modifies a certificate.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Enterprise Application Access API",
          "url": "https://techdocs.akamai.com/eaa-api/reference/post-certificate-upload"
        },
        "operationId": "post-certificate-upload",
        "parameters": [
          {
            "description": "The Akamai contract identifier for your Enterprise Application Access product.",
            "in": "query",
            "name": "contractId",
            "required": true,
            "schema": {
              "example": "K-0N7RAK7",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/contract-id-query.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "example": {
                "cert": "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----",
                "name": "abc@def.com",
                "password": "verygoodpassswrd",
                "private_key": "-----BEGIN ENCRYPTED PRIVATE KEY-----\n-----END ENCRYPTED PRIVATE KEY-----"
              },
              "schema": {
                "additionalProperties": false,
                "description": "Certificate details.",
                "properties": {
                  "cert": {
                    "description": "Body of the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "cert_type": {
                    "default": 1,
                    "description": "The certificate type. Either `1` for application, `2` for agent, `3` for internal, `4` for user, `5` for self-signed, or `6` for cloud CA.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6
                    ],
                    "type": "integer"
                  },
                  "cn": {
                    "description": "The Common Name (CN) represents the server name protected by the SSL certificate.  Example: `akamai.com`.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "created_at": {
                    "description": "ISO 8601 timestamp marking certificate creation.",
                    "type": "string"
                  },
                  "description": {
                    "description": "A description for the certificate. Example: `certificate for abc app`.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "expired_at": {
                    "description": "ISO 8601 timestamp marking the certificate's expiry.",
                    "type": "string"
                  },
                  "issued_at": {
                    "description": "ISO 8601 timestamp marking the certificate's issue.",
                    "type": "string"
                  },
                  "issuer": {
                    "description": "Entity that has verified the certificate's contents.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "modified_at": {
                    "description": "ISO 8601 timestamp marking the certificate's last modification.",
                    "type": "string"
                  },
                  "name": {
                    "description": "A display label for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "password": {
                    "description": "Password for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "private_key": {
                    "description": "Private key for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resource_uri": {
                    "description": "Unique resource identifier.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "status": {
                    "description": "The certificate status. Either `0` for disabled or `1` for enabled.",
                    "enum": [
                      0,
                      1
                    ],
                    "type": "integer"
                  },
                  "subject": {
                    "description": "The entity whose identity the certificate confirms.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "uuid_url": {
                    "description": "A unique identifier for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "password",
                  "cert"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/certificate-post-upload.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "cert": "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "cert": {
                      "description": "Body of the certificate.",
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/certificate-upload-200.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          }
        },
        "summary": "Upload a certificate",
        "tags": [
          "Certificates"
        ]
      },
      "parameters": [
        {
          "description": "A unique identifier for the certificate.",
          "in": "path",
          "name": "certificateId",
          "required": true,
          "schema": {
            "example": "X9CnR98mTDCSZxzqKYOkTQ",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/certificate-id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/upload.yaml",
        "path-info": "/mgmt-pop/certificates/{certificateId}/upload"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/crux/v1"
    }
  ],
  "tags": [
    {
      "description": "Manage certificates.",
      "name": "Certificates"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "05-certificates.yaml"
  },
  "x-readme": {
    "apply-tag-changes": true,
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Create a certificate](https://techdocs.akamai.com/eaa-api/reference/post-certificate.md)
* [List certificates](https://techdocs.akamai.com/eaa-api/reference/get-certificates.md)
* [List CA certificate attributes](https://techdocs.akamai.com/eaa-api/reference/get-certificates-ca-attributes.md)
* [List certificate summary](https://techdocs.akamai.com/eaa-api/reference/get-certificates-thin.md)
* [Get a certificate](https://techdocs.akamai.com/eaa-api/reference/get-certificate.md)
* [Modify a manual certificate](https://techdocs.akamai.com/eaa-api/reference/put-certificate.md)
* [Delete a certificate](https://techdocs.akamai.com/eaa-api/reference/delete-certificate.md)
* [Deploy a certificate](https://techdocs.akamai.com/eaa-api/reference/post-certificate-deploy.md)