@adobe/aio-cli-plugin-certificate
Generate and validate private certs, and public key pairs for use with Adobe IO Console
Last updated 7 months ago by shazron .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @adobe/aio-cli-plugin-certificate 
SYNC missed versions from official npm registry.

Version Downloads/week Build Status Codecov Coverage Greenkeeper badge

Usage

aio-cli-plugin-certificate

Adobe I/O CLI commands to generate and validate private certs, and public key pairs for use with Adobe I/O Console

Usage

$ npm install -g @adobe/aio-cli-plugin-certificate
$ ./bin/run COMMAND
running command...
$ ./bin/run (-v|--version|version)
@adobe/aio-cli-plugin-certificate/0.2.0 darwin-x64 node-v10.18.1
$ ./bin/run --help [COMMAND]
USAGE
  $ ./bin/run COMMAND
...

Commands

./bin/run certificate

Generate or verify a certificate for use with Adobe I/O

USAGE
  $ ./bin/run certificate

See code: src/commands/certificate/index.js

./bin/run certificate:generate

Generate a new private/public key pair

USAGE
  $ ./bin/run certificate:generate

OPTIONS
  -c, --country=country            Country Name
  -l, --locality=locality          Locality, or city name

  -n, --name=name                  [default: selfsign.localhost] Common Name: typically a host domain name, like
                                   www.mysite.com

  -o, --organization=organization  Organization name

  -s, --state=state                State or Province

  -u, --unit=unit                  Organizational unit or department

  --days=days                      [default: 365] Number of days the certificate should be valid for. (Max 365)

  --keyout=keyout                  [default: private.key] file to send the key to

  --out=out                        [default: certificate_pub.crt] output file

DESCRIPTION
  Generate a self-signed certificate to enable https:// on localhost or signing jwt payloads for interacting with Adobe 
  services.

See code: src/commands/certificate/generate.js

./bin/run certificate:verify FILE

Verify a certificate for use with Adobe I/O

USAGE
  $ ./bin/run certificate:verify FILE

ARGUMENTS
  FILE  file path to certificate to verify

OPTIONS
  --days=days  +- is certificate valid in --days

DESCRIPTION
  Verifies that the certificate is valid, and/or will not expire in [--days] days from now.

See code: src/commands/certificate/verify.js

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Current Tags

  • 0.2.0                                ...           latest (7 months ago)

3 Versions

  • 0.2.0                                ...           7 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |