2017 © Pedro Peláez
 

library cert-utils

SSL certificate utilites, including intermediate certificate chain generator.

image

pbogdan/cert-utils

SSL certificate utilites, including intermediate certificate chain generator.

  • Thursday, July 28, 2016
  • by pbogdan
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3,357 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Cert Utils

Collection of random SSL-related utilities written in PHP., (*1)

The cu script in the top-level directory is the common entry point for all the commands, and when invoked without arguments will list all the available commands and global options., (*2)

cu build-chain

cu build-chain [--include-root] path

Build an intermediate certificate chain for an SSL certificate stored in path and print it on stdout. Use the --include-root flag if you want to include the root certificate in the generated chain., (*3)

The utility assumes that trusted root certificates are located in /etc/ssl/certs/., (*4)

cu find:expired

cu find:expired [--expiry] directory

Recursively scan directory for certificate files and report ones that have expired., (*5)

Certificate files are defined as files with .crt or .pem extension., (*6)

By default the expiration time is checked against current time, this can be overridden with the optional --expiry argument which takes string understood by strtotime() PHP function, for example:, (*7)

cu find:expired --expiry="+4 weeks" /ssl-certs/, (*8)

will report certificate files that are due to expire in the next 4 weeks., (*9)

cu find:no-chain

cu find:no-chain directory

Recursively scan directory for certificate files and report ones that likely contain no certificate chain. Currently it doesn't verify validity of the chain for the certificate files that do contain it., (*10)

Certificate files are defined as files with .crt or .pem extension, and are expected to contain the certificate itself along with its chain., (*11)

The Versions

28/07 2016

dev-master

9999999-dev

SSL certificate utilites, including intermediate certificate chain generator.

  Sources   Download

The Requires

 

by Piotr Bogdan

28/07 2016

0.0.2

0.0.2.0

SSL certificate utilites, including intermediate certificate chain generator.

  Sources   Download

The Requires

 

by Piotr Bogdan

27/07 2016

0.0.1

0.0.1.0

SSL certificate utilites, including intermediate certificate chain generator.

  Sources   Download

The Requires

 

by Piotr Bogdan