You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
387 B
Bash

#!/bin/sh
for file in index.txt serial
do
mv ./workdir/${file}.backup ./workdir/$file
done
mv ./destdir/certs/foo-cert.pem.backup ./destdir/certs/foo-cert.pem
rm ./workdir/csr/*
rm ./workdir/newcerts/*
rm ./workdir/*.old
rm ./workdir/openssl.cnf
for file in foo-key.pem foo-keycert.pem
do
mv ./destdir/private/${file}.backup ./destdir/private/$file
done
rm -f ./gnupg/random_seed