Skip to main content

lvl app ssl create

Create a new SSL certificate on an app

lvl app ssl create [app] [flags]

Examples

lvl app ssl create forum --name forum.example.com --auto-urls forum.example.com --auto-link --type letsencrypt
lvl app ssl create forum --name forum.example.com --type own --ssl-cabundle '@cert.ca-bundle' --ssl-key '@key.pem' --ssl-crt '@cert.crt'

Options

      --auto-link             After creation, automatically link to any URLs without existing certificate
--auto-urls string URL or CSV list of URLs (required for Let's Encrypt)
-h, --help help for create
-n, --name string Name of this SSL certificate
--ssl-cabundle string SSL CA bundle for own certificate. Can be read from a file by specifying @filename.
--ssl-crt string SSL CRT for own certificate. Can be read from a file by specifying @filename.
--ssl-force Force SSL
--ssl-key string SSL key for own certificate. Can be read from a file by specifying @filename.
-t, --type string Type of SSL certificate to use. Options are: letsencrypt, xolphin, own
--wait Wait for the operation to finish on the API.

Options inherited from parent commands

      --apikey string   API key
--config string config file (default is $HOME/.lvl.yaml)
-o, --output string Specifies output mode for commands. Accepted values are 'text', 'json', 'yaml' or 'id'. (default "text")
--trace Do detailed network request logging. This is intended for debugging and should not be parsed.

SEE ALSO

  • lvl app ssl - Commands for managing SSL certificates on apps