Send Docs Feedback

Upload a JAR file to a Keystore

Resource Summary

Security

Content Type

multipart/form-data

Category

Keystores and Truststores,

postKSKey

POST

Upload a JAR file to a Keystore

After you've created a keystore in an environment, you can use this API to upload your JAR files that contain a cert and private key. For more information on keystores, see Keystores and Truststores.

This API validates the following:

  • That file size is no larger than 50KB.
  • That the certificate is of type PEM or DER.
  • That the certificate is not expired. To bypass this validation, set ignoreExpiryValidation=true.

Resource URL

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

Query Parameters

Name Values Description
alias
(required)

Specifies the alias name of the JAR file used to create a virtual host.

password

Specifies the password of the private key, if it exists.

ignoreExpiryValidation

By default, this API checks to make sure the certificate hasn't expired. Set to false to validate for certificate expiration.

Attachments


Name Value Description
file
(required)

Specify the JAR file containing the cert and private key.

Request Body

org_name Mention the organization name true

env_name Mention the environment name true

keystore_name Mention the keystore name true

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?