Nice Philanthropist Metalhead
Have ideas to improve npm?Join in the discussion! »

@adobe/aio-cli-plugin-certificate

0.1.1 • Public • Published

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.1.1 darwin-x64 node-v10.16.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.

Install

npm i @adobe/[email protected]

Version

0.1.1

License

Apache-2.0

Unpacked Size

27.9 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar