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

3 wiersze
225 B
Bash
Czysty Zwykły widok Historia

2022-11-15 16:53:23 +00:00
# Generates a local key pair that can be used for signing PDFs.
# Will be saved under ../certs.
openssl req -x509 -newkey rsa:4096 -keyout ../certs/key.pem -out ../certs/cert.pem -days 3650 -nodes -subj /CN="archive.social";