This commit is contained in:
Daan
2025-06-04 23:18:39 +02:00
parent 2768bd4dd0
commit 31200183c1

8
server/cert/gencerts.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
echo "Generating..."
openssl genpkey -algorithm RSA -out ./hmac_key.pem -pkeyopt rsa_keygen_bits:4096
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -keyout api_key.pem -out api_cert.pem \
-subj "/C=NL/ST=Noord-Holland/L=Amsterdam/O=ExOrg/OU=IT/CN=localhost"