Skip to content

Commit

Permalink
Update generate-certificate.sh to write certs etc. to directory it is…
Browse files Browse the repository at this point in the history
… running in.
  • Loading branch information
ghenry authored Jul 12, 2024
1 parent e618585 commit 628cf1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generate-certificate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
set -e

cd $1
# change to the directory of this script
cd "$(dirname "$0")"

# prepare config file for root CA generation
cat <<EOF >> root.cnf
Expand Down

0 comments on commit 628cf1f

Please sign in to comment.