hyn / lets-encrypt
Automated SSL certificates with Let's Encrypt
Requires
- php: >=5.6.0
- amphp/artax: 2.x-dev
- illuminate/support: ^5.2
- nesbot/carbon: ^1.0.0
- phpseclib/phpseclib: ^2.0
- symfony/console: ^2.6|^3.0
- wouter0100/acme: dev-master
Requires (Dev)
- phpunit/phpunit: 5.*
This package is auto-updated.
Last update: 2020-02-05 08:37:49 UTC
README
PHP wrapper for the Let's Encrypt api.
Use as terminal command
The command allows you to generate certificate files (pem and key). Installation into your webserver is still your own responsibility.
composer global require hyn/lets-encrypt
Make sure to place the ~/.composer/vendor/bin directory in your PATH so the hyn-le executable can be located by your system.
You can now globally on your system use the command hyn-le
.
Requesting a certificate
Make sure you run this as a user who can write files to the public directory of the domain you're requesting a certificate for:
hyn-le certificate:request <hostname> <another-hostname-perhaps> --http <path_to_public_dir> -a <account_name> -e <email_address>
Use hyn-le help certificate:request
for more information on all options.
Use as package
Allows further automation of SSL generation.
composer require hyn/lets-encrypt
About
This package is meant to ease development of Let's Encrypt functionality without requiring the python commandline utilities.
Credits
Developed by looking at Petertjuh360's efforts.