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

3 wiersze
279 B
Bash
Executable File

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