Send Docs Feedback

Note: Most user interface tasks can be performed in Edge Classic or the New Edge experience. For an overview, getting started topics, and release notes specific to the New Edge experience, see the docs.

Create an alias by generating a self-signed certificate

Resource Summary

Security

Content Type

application/xml, application/json

Category

CreateanAliasbyGeneratingaSelfSignedCert

POST

Create an alias by generating a self-signed certificate

Self-service TLS/SSL Beta: This API is available as part of the self-service TLS/SSL Beta release.

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?