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

3 wiersze
243 B
Bash

2022-11-21 17:30:34 +00:00
# [DEV ONLY] Generates a local key pair that can be used for signing PDFs.
# Will be saved under ../app/certs.
2022-11-22 19:35:18 +00:00
openssl req -x509 -newkey rsa:4096 -keyout ../certs/key.pem -out ../certs/cert.pem -days 3650 -nodes -subj /CN="thread-keeper DEV";