Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koenrh/certstatus
Obtain the (revocation) status of an X.509 certificate.
https://github.com/koenrh/certstatus
certificate ocsp revocation x509
Last synced: about 1 month ago
JSON representation
Obtain the (revocation) status of an X.509 certificate.
- Host: GitHub
- URL: https://github.com/koenrh/certstatus
- Owner: koenrh
- License: isc
- Created: 2017-07-11T20:03:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T03:00:12.000Z (8 months ago)
- Last Synced: 2024-06-20T12:04:07.821Z (6 months ago)
- Topics: certificate, ocsp, revocation, x509
- Language: Go
- Homepage:
- Size: 154 KB
- Stars: 15
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Certificate status
![](https://github.com/koenrh/certstatus/workflows/build/badge.svg)
This is a little utility to obtain the (revocation) status of an X.509 certificate.
## Installation
Make sure you have set up your `$GOPATH` correctly, and you have included
`$GOPATH/bin` in your `$PATH`, then run the following command.```bash
go get -u github.com/koenrh/certstatus
```## Usage
The only argument you need to provided is the path to an X.509 certificate in
PEM-encoded format.```bash
# OCSP
$ certstatus ocsp certificate.pemSerial number: 582831098329266023459877175593458587837818271346
Status: Revoked
Reason: Key compromise
Revoked at: 2017-06-18 17:57:00 +0000 UTCProduced at: 2017-12-24 18:22:40 +0000 UTC
This update: 2017-12-24 18:22:40 +0000 UTC
Next update: 2017-12-26 18:22:40 +0000 UTC# CRL
$ certstatus crl certificate.pem
Serial number: 582831098329266023459877175593458587837818271346Status: Revoked
Revoked at: 2017-06-18 17:57:00 +0000 UTC
```