Skip to content

Commit

Permalink
ensure file permissions on certificate key is secure (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertrdixon authored Nov 2, 2023
1 parent aa452ab commit 9565984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ fi

if test -n "$DATABASE_CLIENT_KEY_B64"; then
echo "$DATABASE_CLIENT_KEY_B64" | base64 -d >/tmp/client-key.pem
chmod 0600 /tmp/client-key.pem
fi

if test -n "$DATABASE_SERVER_CA_B64"; then
Expand Down

0 comments on commit 9565984

Please sign in to comment.