Acme PHP - Installation
This tutorial is the first in a series for using the tool. This post will step you through installation.
Create a directory wherever you want to install the tool. Navigate to within there and run:
wget https://github.com/acmephp/acmephp/releases/download/1.0.0-beta4/acmephp.phar wget https://github.com/acmephp/acmephp/releases/download/1.0.0-beta4/acmephp.phar.pubkey
To test that everything went successfully, run:
php acmephp.phar --version
... which should output:
Acme PHP - Let's Encrypt client 1.0.0-beta4
php acmephp.phar will need to be run from within this directory.
Setting Up An Alias
To prevent myself from having to go to that directory and typing
php acmephp.phar every time, I set up an alias in my
.bashrc file as shown below:
Now I can just use the
acmephp command from the CLI from any folder. Obviously your folder path needs to reflect where you stuck downloaded the files to.
If you ever need help with this tool use the commands:
php acmephp.phar --help
Now that we have installed the tool, we need start off by using it to register with LetsEncrypt.