Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marco-introini/certinfo-cli
SSL Certificate check in the command line using Laravel Zero Framework
https://github.com/marco-introini/certinfo-cli
Last synced: 2 days ago
JSON representation
SSL Certificate check in the command line using Laravel Zero Framework
- Host: GitHub
- URL: https://github.com/marco-introini/certinfo-cli
- Owner: marco-introini
- License: mit
- Created: 2022-11-02T12:02:43.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T15:07:51.000Z (10 months ago)
- Last Synced: 2024-08-04T01:17:40.547Z (3 months ago)
- Language: PHP
- Size: 69.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-zero - Certinfo CLI
README
# Certinfo
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_ can be a PEM, CRT, CER or DER file
![](readme_img_file.png)
### Check every file in a directory
```
certinfo check:directory
```![](readme_img_dir.png)
### Check an HTTPS Url
```
certinfo check:url
```### Convert PEM to DER
```
certinfo convert:pem2der
```### Convert DER to PEM
```
certinfo convert:der2pem
```------
## 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](https://github.com/nunomaduro) and [Owen Voke](https://github.com/owenvoke), 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](https://paypal.me/marcointroini)
## License
This is an open-source software licensed under the MIT license.