定制 marco-introini/certinfo-cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

License

This is an open-source software licensed under the MIT license.

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固