api:environments:csr-create
Generates a certificate signing request (CSR) for one or more domains.
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:environments:csr-create [--alternate_names ALTERNATE_NAMES] [--task-wait] [--] <environmentId> <country> <state> <locality> <organization> <organizational_unit> <common_name>
acli api:environments:csr-create 12-d314739e-296f-11e9-b210-d663bd873d93 "CA" "Ontario" "Toronto" "Acquia" "Networking" "www.example.com" --alternate_names="www2.example.com" --alternate_names="www3.example.com"
acli api:environments:csr-create myapp.dev "CA" "Ontario" "Toronto" "Acquia" "Networking" "www.example.com" --alternate_names="www2.example.com" --alternate_names="www3.example.com"
Arguments
environmentId
Required
The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.
country
Required
The ISO-3166 country code for CSR generation.
state
Required
The state/province for CSR generation.
locality
Required
The locality (city/town/township) for CSR generation.
organization
Required
The organization name for CSR generation.
organizational_unit