You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results.

Create an alias by generating a self-signed certificate

Resource Summary

Security

Content Type

application/xml, application/json

Category

Keystores and Truststores,

CreateanAliasbyGeneratingaSelfSignedCert

POST

Create an alias by generating a self-signed certificate

Creates a new alias by generating a self signed certificate.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_name}/keystores/{keystore_name}/aliases

Query Parameters

Name Values Description
format
(required)

Determines the type of alias creation. This method requires the value to be selfsignedcert.

privateKeyExportable

If true, allow the Edge sys admin to download the private key.

Header Parameters

Name Values Description
Content-Type
(required)

Specify the Content-Type as application/xml or application/json.

Request Body

Name Description Default Required?
alias Alias name. Maximum length is 128 characters. N/A Yes
keySize Default and maximum value is 2048 bits. 2048 No
certValidityInDays Validity duration of certificate, in days. Accepts positive non zero value. 365 No
commonName Common name of the organization. For example, api.enterprise.apigee.com, www.apigee.com, etc. Max length is 64 characters. N/A Yes
countryCode Two letter country code. Example, IN for India, US for United States of America. N/A No
state State/District name. Max 128 characters. N/A No
locality City/Town name. Max 128 characters. N/A No
org Organization name. Max 64 characters. N/A No
orgUnit Organization team name. Max 64 characters. N/A No
email Email address. Max 255 characters. N/A No
sigAlg Signature algorithm to generate private key. Valid values are "SHA512withRSA", "SHA384withRSA” and “SHA256withRSA” (default). SHA256withRSA No
subjectAlternativeDNSNames List of alternative host names. Max of 255 characters for each value. N/A No

org_name Mention the organization name true

env_name Mention the environment name true

keystore_name Mention the keystore name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click the "Send Feedback" button.
    (Incorrect? Unclear? Broken link? Typo?)