eelf/lescript

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2018-03-02 11:47 UTC

This package is auto-updated.

Last update: 2021-10-11 21:49:48 UTC


README

le-client is a Let's Encrypt service client

Usage

composer dumpautoload

First time

  1. Make account's key

    php bin/le.php make_key data/private.key

  2. Register account

    php bin/le.php reg_account data/private.key

  3. Make challenge

    php bin/le.php make_challenge data/private.key example.com

  4. Put domain confirmation details to web server

  5. Challnge domain confirmation

    php bin/le.php challenge data/private.key uri token file location

  6. Make domain's key

    php bin/le.php make_key data/domain.key

  7. Make cert

    php bin/le.php make_cert data/domain.key example.com data/private.key

Prolongation

php bin/le.php prolongate config.php example.com

Will do automatically the following:

  1. Make challenge
  2. Put domain confirmation details to web server
  3. Challenge domain confirmation
  4. Make new domain key
  5. Make cert

Check cert exipration

echo | openssl s_client -servername NAME -connect HOST:PORT 2>/dev/null | openssl x509 -noout -dates