Skip to content

Commit

Permalink
set permissions of private key files to 600
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjiangshu committed Dec 6, 2024
1 parent 7885e07 commit 1998224
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sda-download/dev_utils/make_certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ openssl x509 -req -in ./certs/download.csr -days 1200 -CA ./certs/ca.pem -CAkey

cp ./certs/ca.pem ./certs/ca-certificates.crt
chmod 644 ./certs/*
# Set the permissions of the private keys to 600
chmod 600 ./certs/*-key.*

0 comments on commit 1998224

Please sign in to comment.