Download the PHP package pbogdan/cert-utils without Composer
On this page you can find all versions of the php package pbogdan/cert-utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pbogdan/cert-utils
More information about pbogdan/cert-utils
Files in pbogdan/cert-utils
Package cert-utils
Short Description SSL certificate utilites, including intermediate certificate chain generator.
License
Informations about the package cert-utils
Cert Utils
Collection of random SSL-related utilities written in PHP.
The 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.
cu build-chain
Build an intermediate certificate chain for an SSL certificate stored in and print it on stdout. Use the flag if you want to include the root certificate in the generated chain.
The utility assumes that trusted root certificates are located in .
cu find:expired
Recursively scan for certificate files and report ones that have expired.
Certificate files are defined as files with .crt or .pem extension.
By default the expiration time is checked against current time, this can be overridden with the optional argument which takes string understood by strtotime() PHP function, for example:
will report certificate files that are due to expire in the next 4 weeks.
cu find:no-chain
Recursively scan 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.
Certificate files are defined as files with .crt or .pem extension, and are expected to contain the certificate itself along with its chain.