mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-06-24 06:34:20 -04:00
add session ticket key management scripts
This commit is contained in:
parent
eb9a4ef2d1
commit
462bdc8599
5 changed files with 59 additions and 0 deletions
15
nginx-create-session-ticket-keys
Executable file
15
nginx-create-session-ticket-keys
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
umask 077
|
||||
|
||||
mkdir -p /etc/nginx/session-ticket-keys
|
||||
mount -t ramfs -o mode=700 ramfs /etc/nginx/session-ticket-keys
|
||||
|
||||
cd /etc/nginx/session-ticket-keys
|
||||
|
||||
openssl rand -out 1.key 80
|
||||
openssl rand -out 2.key 80
|
||||
openssl rand -out 3.key 80
|
||||
openssl rand -out 4.key 80
|
Loading…
Add table
Add a link
Reference in a new issue