From 3922cb225ac40c68cab8208150aa275f016d7607 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Sun, 31 Dec 2023 17:10:55 -0700 Subject: [PATCH] fix: :bug: -CAserial, not -CAcreateserial https://stackoverflow.com/a/66357989 --- back/lib/ssl_peer_add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/lib/ssl_peer_add b/back/lib/ssl_peer_add index 8a7511c..b1b3b01 100755 --- a/back/lib/ssl_peer_add +++ b/back/lib/ssl_peer_add @@ -54,7 +54,7 @@ if ! sudo /usr/bin/openssl req -new -sha384 -reqexts SAN -extensions SAN \ fi # Generate cert -if ! sudo /usr/bin/openssl x509 -req -sha384 -extensions SAN -CAcreateserial \ +if ! sudo /usr/bin/openssl x509 -req -sha384 -extensions SAN -CAserial \ -extfile "${SSL_CONFIG_DIR}/${username}/${hostname}.cnf" \ -in "${SSL_CONFIG_DIR}/${username}/${hostname}.csr" \ -CA "${SSL_CA_CERT}" -CAkey "${SSL_CA_KEY}" \