Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
39 lines (32 loc) · 1.41 KB

README.md

File metadata and controls

executable file
·
39 lines (32 loc) · 1.41 KB

openssl-toolkit

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-1.1.0.zip or see below for one-liner download, extract, launch:

echo https://github.com/tdharris/openssl-toolkit/releases/download/1.1.0/openssl-toolkit-1.1.0.zip \
| xargs wget -qO- -O tmp.zip && unzip -o tmp.zip && rm tmp.zip && ./openssl-toolkit/openssl-toolkit.sh

The following tasks are supported:

  1. Create certificates:

    • Self-Signed SSL Certificate (key, csr, crt)
    • Private Key & Certificate Signing Request (key, csr)
    • PEM from previous certificates (key, crt, intermediate crts)
  2. Convert certificates:

  • PEM -> DER
  • PEM -> P7B
  • PEM -> PFX
  • DER -> PEM
  • P7B -> PEM
  • P7B -> PFX
  • PFX -> PEM
  1. Verify certificates:
  • CSR is signed by private key
  • Public certificate and private key are a keypair
  • 3rd party intermediate chain file and signed public certificate are a keypair
  • Check date validity of certificates
  1. Test ssl server:
  • SSL Certificate handshake
  • SSL Server date validity
  • Permitted Protocols
  1. Output certificate information:
  • Output the details from a certifticate sign request
  • Output the details from a signed certificate