certs

certs

List certificates.

Usage

To list all certificates

    convox certs

Flags

Flag Description
--generated List only generated certificates

Examples

    $ convox certs
    ID                                     DOMAIN             EXPIRES            Status
    cert-0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d  *.example.com      364 days from now  Ready
    cert-1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e  myapp.example.org  364 days from now  Ready

The Status column shows Ready for issued certificates and Not Ready for generated certificates that are still pending issuance.

certs generate

Generate certificates. These certificates can be reused with convox apps. For example, generating a wildcard certificate to reuse it in several apps to reduce letsencrypt rate limit issue.

Usage

To generate one or more certificates

    convox certs generate <domain> [domain...]

Flags

Flag Description
--duration Certificate duration (e.g., 4200h)
--issuer Certificate issuer (e.g., letsencrypt)
--id Output only the certificate ID

Examples

    $ convox certs generate mydomain.com --duration 4200h --issuer letsencrypt

To list generated certificates:

    convox certs --generated

certs delete

Delete a certificate.

Usage

    convox certs delete <id>

Examples

    $ convox certs delete cert-0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d
    Deleting certificate cert-0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d... OK

certs import

Import a certificate.

Usage

    convox certs import <pub> <key>

Flags

Flag Description
--chain Path to an intermediate certificate chain file
--id Output only the certificate ID

Examples

    $ convox certs import cert.pem key.pem
    Importing certificate... OK, cert-0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d

    $ convox certs import cert.pem key.pem --chain chain.pem
    Importing certificate... OK, cert-0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d

certs renew

Renew a certificate for an app.

Usage

    convox certs renew

Flags

Flag Short Description
--app -a App name (inferred from current directory if not specified)

Examples

    $ convox certs renew --app myapp
    Renewing certificate myapp... OK

See Also

  • SSL for SSL certificate configuration
  • Custom Domains for routing domains to services