Skip to content

Instantly share code, notes, and snippets.

View samducker's full-sized avatar

Sam Ducker samducker

View GitHub Profile
@samducker
samducker / david-bash.sh
Created March 7, 2024 19:29
Bash script for David's SSL
#!/bin/bash
# Set variables
CERTIFICATE="certificate.pem"
PRIVATE_KEY="private.txt"
ROOT_CERT="root.txt"
INTERMEDIATE_CERT="intermediate.txt"
KEYSTORE_PASSWORD="your_keystore_password"
KEYSTORE_NAME="filename-new-keystore2.jks"