README
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
$ aio plugins:install -g @adobe/aio-cli-plugin-certificate
$ # OR
$ aio discover -i
$ aio certificate --help
Commands
aio certificate
Generate or verify a certificate for use with Adobe I/O
USAGE
$ aio certificate
See code: src/commands/certificate/index.js
aio certificate:generate
Generate a new private/public key pair
USAGE
$ aio 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
aio certificate:verify FILE
Verify a certificate for use with Adobe I/O
USAGE
$ aio 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.