certstatus

command module
v0.0.0-...-013d36b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: ISC Imports: 16 Imported by: 0

README

Certificate status

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.

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.

# OCSP
$ certstatus ocsp certificate.pem

Serial number: 582831098329266023459877175593458587837818271346

Status: Revoked
Reason: Key compromise
Revoked at: 2017-06-18 17:57:00 +0000 UTC

Produced 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: 582831098329266023459877175593458587837818271346

Status: Revoked
Revoked at: 2017-06-18 17:57:00 +0000 UTC

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL