Skip to content

Instantly share code, notes, and snippets.

View TechCiel's full-sized avatar

Ciel TechCiel

View GitHub Profile
@TechCiel
TechCiel / recert.sh
Created December 21, 2023 02:13
Propagate Renewed Certificate between Servers
#!/bin/bash
# ./recert.sh [host] [certificate file] [private key file] [reload command]
tmp=$(mktemp)
log () {
echo $(date) "$@"
if [[ "$@" == *! ]]; then
rm $tmp
exit

Keybase proof

I hereby claim:

  • I am techciel on github.
  • I am techciel (https://keybase.io/techciel) on keybase.
  • I have a public key ASCG1StowPzfLZSjZghWeZYn52xj6Fvnq2MjKoLgoUYDrQo

To claim this, I am signing this object: