2017 © Pedro Peláez
 

library lescript

image

eelf/lescript

  • Friday, March 2, 2018
  • by eZH
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Let's Encrypt client in PHP

le-client is a Let's Encrypt service client, (*1)

Usage

composer dumpautoload, (*2)

First time

  1. Make account's key, (*3)

    php bin/le.php make_key data/private.key, (*4)

  2. Register account, (*5)

    php bin/le.php reg_account data/private.key, (*6)

  3. Make challenge, (*7)

    php bin/le.php make_challenge data/private.key example.com, (*8)

  4. Put domain confirmation details to web server, (*9)

  5. Challnge domain confirmation, (*10)

    php bin/le.php challenge data/private.key uri token file location, (*11)

  6. Make domain's key, (*12)

    php bin/le.php make_key data/domain.key, (*13)

  7. Make cert, (*14)

    php bin/le.php make_cert data/domain.key example.com data/private.key, (*15)

Prolongation

php bin/le.php prolongate config.php example.com, (*16)

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, (*17)

Check cert exipration

echo | openssl s_client -servername NAME -connect HOST:PORT 2>/dev/null | openssl x509 -noout -dates, (*18)

The Versions

02/03 2018

dev-master

9999999-dev

  Sources   Download

The Development Requires