Skip to content

A CLI tool to request, renew and revoke Let's Encrypt certificates.

Notifications You must be signed in to change notification settings

RogierW/rw-acme-cli

Repository files navigation

CLI tool for managing Let's Encrypt certificates

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 protected]
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:[email protected]
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.

About

A CLI tool to request, renew and revoke Let's Encrypt certificates.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages