marco-introini/certinfo-cli
最新稳定版本:v2.0.0
Composer 安装命令:
composer create-project marco-introini/certinfo-cli
包简介
SSL Certificate check in the command line.
README 文档
README
A CLI application that shows Certificate Information of single X509 certificate (PEM and DER format) or multiple certificates (check a directory)
This can also be used for converting PEM certificate to DER and vice-versa
User Installation
Global installation
You can install the binary in global composer directory:
composer global require marco-introini/certinfo-cli
Usage
All the available commands are visible using:
certinfo
Check a single file
certinfo check:file <filename>
filename can be a PEM, CRT, CER or DER file
Check every file in a directory
certinfo check:directory <directory>
Check an HTTPS Url
certinfo check:url <url>
Convert PEM to DER
certinfo convert:pem2der <filename>
Convert DER to PEM
certinfo convert:der2pem <filename>
Developer information
Inside the Makefile there is the build command to create the executable
Test
There are several test written using Pest inside the tests/Feature directory.
Before executing Pest you must generate stub certificates inside the tests/stubs directory. There is a Makefile recipe for automating everything:
make test
Thanks
This package is based on Laravel Zero.
Laravel Zero was created by Nuno Maduro and Owen Voke, and is a micro-framework that provides an elegant starting point for your console application. It is an unofficial and customized version of Laravel optimized for building command-line applications.
Support the development
If you like my work you can buy me a coffee
- via PayPal
License
This is an open-source software licensed under the MIT license.
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-02

