rogierw / rw-acme-cli
A CLI tool to request, renew and revoke Let's Encrypt certificates.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
- ext-openssl: *
- nesbot/carbon: ^2.61
- rogierw/rw-acme-client: ^4.2
- spatie/ssl-certificate: ^2.4
- symfony/console: ^6.3
Requires (Dev)
- larapack/dd: ^1.1
README
This command-line tool allows you to request, renew and revoke SSL certificates provided by Let's Encrypt. This tool relies on the rogierw/rw-acme-client package.
Requirements
- PHP ^8.2
- OpenSSL >= 1.0.1
- cURL extension
- JSON extension
Installation
You can install the package via composer:
composer global require rogierw/rw-acme-cli
Setup environment
Copy the .env.example to .env and changes the default values.
EMAIL=john@doe.com
STORAGE_PATH=storage
Usage
Creating an account
The first step would be creating an account.
rw-acme account:create <e-mail address>
View your account details:
rw-acme account:details
The output will be something like this:
Account details. ID: 1000222333 Status: valid E-mail: mailto:john@doe.com Initial IP: 127.0.0.1 Created at: 2023-05-19T10:00:25Z
Creating an order
rw-acme certificate:order <domain>
There are various options that you could add to the command. Run rw-acme certificate:order --help
to view all the available options.