@adobe/aio-cli-plugin-certificate
v2.0.1
Published
Generate and validate private certificates, and public key pairs for use with Adobe IO Console
Downloads
17,501
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, fingerprint, or verify a certificate for use with Adobe I/O
USAGE
$ aio certificate
DESCRIPTION
Generate, fingerprint, or verify a certificate for use with Adobe I/O
See code: src/commands/certificate/index.js
aio certificate fingerprint FILE
Compute the fingerprint of a public key certificate for use with Adobe I/O
USAGE
$ aio certificate fingerprint FILE
ARGUMENTS
FILE file path to certificate to fingerprint
DESCRIPTION
Compute the fingerprint of a public key certificate for use with Adobe I/O
See code: src/commands/certificate/fingerprint.js
aio certificate generate
Generate a new private/public key pair
USAGE
$ aio certificate generate [--keyout <value>] [--out <value>] [-n <value>] [-c <value>] [-s <value>] [-l <value>] [-o
<value>] [-u <value>] [--days <value>]
FLAGS
-c, --country=<value> Country Name
-l, --locality=<value> Locality, or city name
-n, --name=<value> [default: selfsign.localhost] Common Name: typically a host domain name, like
www.mysite.com
-o, --organization=<value> Organization name
-s, --state=<value> State or Province
-u, --unit=<value> Organizational unit or department
--days=<value> [default: 365] Number of days the certificate should be valid for. (Max 365)
--keyout=<value> [default: private.key] file to send the key to
--out=<value> [default: certificate_pub.crt] output file
DESCRIPTION
Generate a new private/public key pair
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 [--days <value>]
ARGUMENTS
FILE file path to certificate to verify
FLAGS
--days=<value> +- is certificate valid in --days
DESCRIPTION
Verify a certificate for use with Adobe I/O
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.