~ .gitkeep
This commit is contained in:
parent
cba8ce5e6d
commit
b6d3a23cc3
4 changed files with 10 additions and 2 deletions
2
gen_tls.sh
Normal file → Executable file
2
gen_tls.sh
Normal file → Executable file
|
|
@ -2,6 +2,4 @@
|
|||
|
||||
hostname="${2:-localhost}"
|
||||
|
||||
mkdir data/tls/keys
|
||||
mkdir data/tls/certificates
|
||||
openssl req -x509 -newkey rsa:4096 -keyout data/tls/keys/$1 -out data/tls/certificates/$1 -sha256 -days 365 -subj "/CN=$hostname" -nodes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue