Search
Varnish Controller

vcli certificates add

Add new certificate

Synopsis

Add a new certificate to the system.

vcli certificates add [Name] [flags]

Options

  -C, --cert string            Path to the X.509 certificate, only unencrypted PEM files are supported. Use the key flag for separate key
  -s, --cipher-suites string   Comma separated cipher suites, in desired order (TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,..)
      --database               Upload the cerificate/private-key from --certificate/--private-key flag to the controller database
      --disk                   Use the paths from --certificate/--private-key to point out the disk locations on the server
  -h, --help                   help for add
  -K, --key string             Path to the private key associated with the certificate, only unencrypted PEM files are supported.
  -M, --max-version string     Maximum TLS version that should be supported (TLSv1.1,TLSv1.2,TLSv1.3) (default "TLSv1.3")
  -m, --min-version string     Minimum TLS version that should be supported (TLSv1.1,TLSv1.2,TLSv1.3) (default "TLSv1.3")

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO