Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

eelf/le-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's Encrypt client in PHP

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

About

Let's Encrypt client in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages