Daniel Fisher committed 2026-09-26 23:59:14 +02:00
1 parent 4ce162ccc3
commit 32bf6ee7d5
1 file changed
+1 -1
@@ -18,7 +18,7 @@ openssl genpkey -algorithm RSA -aes128 -out private-ca.key -outform PEM -pkeyopt
Create a CA certificate: Create a CA certificate:
``` ```
openssl req -x509 -new -nodes -sha256 -days 650 -key private-ca.key -out self-signed-ca-cert.crt openssl req -x509 -new -nodes -sha256 -days 825 -key private-ca.key -out self-signed-ca-cert.crt
``` ```
> The `-nodes` argument prevents setting a pass-phrase for the private key (key pair) in a test/safe environment, otherwise you'll have to input the pass-phrase every time you start/restart the server. > The `-nodes` argument prevents setting a pass-phrase for the private key (key pair) in a test/safe environment, otherwise you'll have to input the pass-phrase every time you start/restart the server.