1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Add -nodes (no DES) to openssl command so it doesn't ask for a

password on OpenSSL 3.0.0 and later when generating the standard
self-signed certificate.
This commit is contained in:
Bram Matthys
2021-06-28 13:58:39 +02:00
parent 088218817d
commit c586592516
+1 -1
View File
@@ -266,7 +266,7 @@ pem: extras/tls.cnf
-config extras/tls.cnf -sha256 -out server.req.pem \
-key server.key.pem -nodes
@echo "Generating self-signed certificate..."
$(OPENSSLPATH) req -x509 -days 3650 -sha256 -in server.req.pem \
$(OPENSSLPATH) req -x509 -days 3650 -sha256 -nodes -in server.req.pem \
-key server.key.pem -out server.cert.pem
@echo "Setting permissions on server.*.pem files..."
chmod o-rwx server.req.pem server.key.pem server.cert.pem