This is an OpenSSL certificate toolkit utility leveraging OpenSSL's CLI for Linux. This is a simple wrapper utility for OpenSSL CLI to help automate certificate tasks.
Download openssl-toolkit.zip or see below for one-liner download, extract, launch:
echo https://github.com/tdharris/openssl-toolkit/releases/download/1.0/openssl-toolkit.zip | xargs wget -qO- -O tmp.zip && unzip tmp.zip && rm tmp.zip && ./openssl-toolkit.sh
The following tasks are supported:
- Create certificates:
- Self-Signed SSL Certificate (key, csr, crt)
- Private Key & Certificate Signing Request (key, csr)
- PEM with key and entire trust chain
- Convert certificates:
- PEM -> DER
- PEM -> P7B
- PEM -> PFX
- DER -> PEM
- P7B -> PEM
- P7B -> PFX
- PFX -> PEM
- Verify certificates:
- CSR is a public key from the private key
- Signed certificate is the public key from the private key
- Chain file applies to the signed certificate (complete ssl chain)
- Check date validity of certificates
- Test ssl server:
- SSL Certificate handshake
- SSL Server date validity
- Permitted Protocols
- Output certificate information:
- Output the details from a certifticate sign request
- Output the details from a signed certificate