Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# Create Cert

# usage

Usage: oredge cert create [http] [OPTIONS]

OPTIONS:
    --label string                     label.
    --priv-key-file string             private key pem file.
    --server-cert-file string          server cert pem file.
    --cert-chain-file string           cert chain pem file.
    --ca-cert string                   ca cert.
    --cert-chain string                cert chain.
    --client-verify bool               true or false.
    --server-cert string               server cert.
    --global-cert integer              global cert.
    --priv-key string                  private key.
    --server-cert string               server certificate.
    --http integer                     http id.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. create cert.
# oredge cert create 3 --label test --priv-key-file test.key --server-cert-file test.crt
ID: 3-9