-
-
Save mccun934/baf68231e1e7927de746ee6806e4ef9c to your computer and use it in GitHub Desktop.
Satellite certificate generator script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
git clone https://github.com/iNecas/ownca.git | |
cd ownca | |
yes "" | ./generate-ca.sh | |
yes | ./generate-crt.sh $(hostname) | |
certdir="$(pwd)/$(hostname)/" | |
cp cacert.crt $(hostname)/ | |
cd $(hostname) | |
katello-certs-check -c "$(hostname).crt" -k "$(hostname).key" -r "$(hostname).crt.req" -b cacert.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment