Please wait

Loading...

Start typing in the pseudo command bar to explore the commands available.

env:certificate-create

Install an SSL certificate.

This command requires authentication via the Cloud Platform API.

Usage

acli env:certificate-create [--legacy [LEGACY]] [--ca-certificates [CA-CERTIFICATES]] [--csr-id [CSR-ID]] [--label [LABEL]] [--] <certificate> <private-key> [<environmentId>]
acli env:certificate-create [<environmentAlias>]
acli env:certificate-create myapp.dev
acli env:certificate-create prod:myapp.dev
acli env:certificate-create 12345-abcd1234-1111-2222-3333-0e02b2c3d470

Arguments

  • certificate

    Required

    Filename of the SSL certificate being installed

  • private-key

    Required

    Filename of the SSL private key

  • environmentId

    Optional

    The Cloud Platform environment ID or alias (i.e. an application and environment name optionally prefixed with the realm)

Options

  • --legacy

    Optional

    True for legacy certificates

    Defaults to false

  • --ca-certificates

    Optional

    Filename of the CA intermediary certificates

  • --csr-id

    Optional

    The CSR (certificate signing request) to associate with this certificate

  • --label

    Optional

    The label for this certificate. Required for standard certificates. Optional for legacy certificates

    Defaults to "My certificate"

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the <info>list</info> command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false