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

# Create a certificate

Creates 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": {
      "post": {
        "description": "Creates 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"
        },
        "operationId": "post-certificate",
        "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": {
            "application/json": {
              "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": {
                  "app_count": {
                    "description": "Count of applications.",
                    "type": "integer"
                  },
                  "apps": {
                    "description": "The certificate's applications.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "cert": {
                    "description": "Body of the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "cert_file_name": {
                    "description": "The certificate filename.",
                    "nullable": true,
                    "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"
                  },
                  "days_left": {
                    "description": "Count of days left before certificate expiry.",
                    "type": "integer"
                  },
                  "description": {
                    "description": "A description for the certificate. Example: `certificate for abc app`.",
                    "minLength": 0,
                    "nullable": true,
                    "type": "string"
                  },
                  "expired_at": {
                    "description": "ISO 8601 timestamp marking the certificate's expiry.",
                    "type": "string"
                  },
                  "host_name": {
                    "description": "The certificate hostname.",
                    "nullable": true,
                    "type": "string"
                  },
                  "idps": {
                    "description": "The certificate's identity providers.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "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": "The certificate's password.",
                    "type": "string"
                  },
                  "private_key": {
                    "description": "Private key for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resource": {
                    "description": "The resource type.",
                    "type": "string"
                  },
                  "resource_uri": {
                    "additionalProperties": false,
                    "description": "Unique resource identifier.",
                    "properties": {
                      "href": {
                        "description": "The resource href URL.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "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"
                  },
                  "uploaded": {
                    "description": "Whether the certificate is uploaded. Specify `null` if you want to add this later.",
                    "nullable": true,
                    "type": "boolean"
                  },
                  "uuid_url": {
                    "description": "A unique identifier for the certificate.",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "cert"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/certificate-post.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "app_count": 0,
                  "cert": "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----",
                  "cert_file_name": null,
                  "cert_type": 1,
                  "cn": "hubbaduba.com",
                  "created_at": "2019-07-10T11:54:14.418364",
                  "days_left": 364,
                  "description": null,
                  "expired_at": "2020-07-09T11:51:35",
                  "host_name": null,
                  "issued_at": "2019-07-10T11:51:35",
                  "issuer": "C=IN/ST=KA/L=BLR/O=AKA/OU=ENT/CN=hubbadubba.com/emailAddress=email@address.com",
                  "modified_at": "2019-07-10T11:54:14.418380",
                  "name": "abc@def.com",
                  "password": "akamai",
                  "private_key": "-----BEGIN ENCRYPTED PRIVATE KEY-----\n-----END ENCRYPTED PRIVATE KEY-----",
                  "resource": "certificates",
                  "resource_uri": {
                    "href": "/api/v1/certificates/Jq2wsVfuRLadm4yMrOT58A"
                  },
                  "status": 1,
                  "subject": "C=IN/ST=KA/L=BLR/O=AKA/OU=ENT/CN=hubbaduba.com/emailAddress=email@address.com",
                  "uploaded": null,
                  "uuid_url": "Jq2wsVfuRLadm4yMrOT58A"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Certificate details.",
                  "properties": {
                    "app_count": {
                      "description": "Count of applications.",
                      "type": "integer"
                    },
                    "apps": {
                      "description": "The certificate's applications.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "cert": {
                      "description": "Body of the certificate.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "cert_file_name": {
                      "description": "The certificate filename.",
                      "nullable": true,
                      "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"
                    },
                    "days_left": {
                      "description": "Count of days left before certificate expiry.",
                      "type": "integer"
                    },
                    "description": {
                      "description": "A description for the certificate. Example: `certificate for abc app`.",
                      "minLength": 0,
                      "nullable": true,
                      "type": "string"
                    },
                    "expired_at": {
                      "description": "ISO 8601 timestamp marking the certificate's expiry.",
                      "type": "string"
                    },
                    "host_name": {
                      "description": "The certificate hostname.",
                      "nullable": true,
                      "type": "string"
                    },
                    "idps": {
                      "description": "The certificate's identity providers.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "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": "The certificate's password.",
                      "type": "string"
                    },
                    "private_key": {
                      "description": "Private key for the certificate.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "resource": {
                      "description": "The resource type.",
                      "type": "string"
                    },
                    "resource_uri": {
                      "additionalProperties": false,
                      "description": "Unique resource identifier.",
                      "properties": {
                        "href": {
                          "description": "The resource href URL.",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "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"
                    },
                    "uploaded": {
                      "description": "Whether the certificate is uploaded. Specify `null` if you want to add this later.",
                      "nullable": true,
                      "type": "boolean"
                    },
                    "uuid_url": {
                      "description": "A unique identifier for the certificate.",
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "cert"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/certificate-post.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          }
        },
        "summary": "Create a certificate",
        "tags": [
          "Certificates"
        ]
      },
      "x-akamai": {
        "file-path": "paths/certificates.yaml",
        "path-info": "/mgmt-pop/certificates"
      }
    }
  },
  "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

* [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)
* [Upload a certificate](https://techdocs.akamai.com/eaa-api/reference/post-certificate-upload.md)