Easy dumping of OpenSSL "stuff"

TL;DR

I was tired of always typing the same stuff with openssl ... and here’s a small simplification.

When working with certificates in OpenSSL, I keep writing this over and over:

openssl x509 -text -noout -in whatevah.crt

Sometimes it’s a certificate request instead, which takes pretty much the same parameters but has a different subcommand:

openssl req -text -noout -in whatevah.csr

So why don’t make the shell do what it does best?

Local version here


Comments? Octodon, , GitHub, Reddit, or drop me a line!