archive.social/scripts/generate-dev-cert.sh

3 wiersze
243 B
Bash
Executable File

# [DEV ONLY] Generates a local key pair that can be used for signing PDFs.
# Will be saved under ../app/certs.
openssl req -x509 -newkey rsa:4096 -keyout ../certs/key.pem -out ../certs/cert.pem -days 3650 -nodes -subj /CN="thread-keeper DEV";