Skip to content

Instantly share code, notes, and snippets.

View franklapolito's full-sized avatar

franklapolito

View GitHub Profile
@franklapolito
franklapolito / checkcert.sh
Last active March 14, 2025 19:25 — forked from dade80vr/checkcert.sh
Bash script to check if a certificate and a private key match
#!/bin/bash
#Developed by: Frank Lapolito; Date: 3/14/25
# to run, first execute chmod +x checkcert.sh
# next, to execute the file run ./checkcert.sh
cert="<cert>.crt"
key="<key>.key"
echo "Starting script..." #Added line for debugging.