Skip to content

Latest commit

 

History

History
228 lines (161 loc) · 6.62 KB

certs.md

File metadata and controls

228 lines (161 loc) · 6.62 KB

heroku certs

SSL certificates

heroku certs

list SSL certificates for an app

USAGE
  $ heroku certs -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list SSL certificates for an app

See code: src/commands/certs/index.ts

heroku certs:add CRT KEY

Add an SSL certificate to an app.

USAGE
  $ heroku certs:add CRT KEY -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Add an SSL certificate to an app.

  Note: certificates with PEM encoding are also valid.


EXAMPLES
  $ heroku certs:add example.com.crt example.com.key
      If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:
      https://help.salesforce.com/s/articleView?id=000333504&type=1

See code: src/commands/certs/add.ts

heroku certs:auto

show ACM status for an app

USAGE
  $ heroku certs:auto -a <value> [--wait] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --wait            watch ACM status and display the status when complete

DESCRIPTION
  show ACM status for an app

See code: src/commands/certs/auto/index.ts

heroku certs:auto:disable

disable ACM for an app

USAGE
  $ heroku certs:auto:disable -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  disable ACM for an app

See code: src/commands/certs/auto/disable.ts

heroku certs:auto:enable

enable ACM status for an app

USAGE
  $ heroku certs:auto:enable -a <value> [--wait] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --wait            watch ACM status and exit when complete

DESCRIPTION
  enable ACM status for an app

See code: src/commands/certs/auto/enable.ts

heroku certs:auto:refresh

refresh ACM for an app

USAGE
  $ heroku certs:auto:refresh -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  refresh ACM for an app

See code: src/commands/certs/auto/refresh.ts

heroku certs:generate DOMAIN

generate a key and a CSR or self-signed certificate

USAGE
  $ heroku certs:generate DOMAIN -a <value> [--selfsigned] [--keysize <value>] [--owner <value>] [--country <value>]
    [--area <value>] [--city <value>] [--subject <value>] [--now] [-r <value>]

FLAGS
  -a, --app=<value>      (required) app to run command against
  -r, --remote=<value>   git remote of app to use
      --area=<value>     sub-country area (state, province, etc.) of owner
      --city=<value>     city of owner
      --country=<value>  country of owner, as a two-letter ISO country code
      --keysize=<value>  RSA key size in bits (default: 2048)
      --now              do not prompt for any owner information
      --owner=<value>    name of organization certificate belongs to
      --selfsigned       generate a self-signed certificate instead of a CSR
      --subject=<value>  specify entire certificate subject

DESCRIPTION
  generate a key and a CSR or self-signed certificate

See code: src/commands/certs/generate.ts

heroku certs:info

show certificate information for an SSL certificate

USAGE
  $ heroku certs:info -a <value> [--name <value>] [--endpoint <value>] [--show-domains] [-r <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to check info on
      --name=<value>      name to check info on
      --show-domains      show associated domains

DESCRIPTION
  show certificate information for an SSL certificate

See code: src/commands/certs/info.ts

heroku certs:remove

remove an SSL certificate from an app

USAGE
  $ heroku certs:remove -a <value> [--name <value>] [--endpoint <value>] [-r <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to remove
      --name=<value>      name to remove

DESCRIPTION
  remove an SSL certificate from an app

See code: src/commands/certs/remove.ts

heroku certs:update CRT KEY

update an SSL certificate on an app

USAGE
  $ heroku certs:update CRT KEY -a <value> [--name <value>] [--endpoint <value>] [-r <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to update
      --name=<value>      name to update

DESCRIPTION
  update an SSL certificate on an app
  Note: certificates with PEM encoding are also valid


EXAMPLES
  $ heroku certs:update example.com.crt example.com.key
      If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:
      https://help.salesforce.com/s/articleView?id=000333504&type=1

See code: src/commands/certs/update.ts