From bd3d1217629eaf82d753477524a93c8a890c1cd4 Mon Sep 17 00:00:00 2001 From: Eric F Crist Date: Sat, 19 Aug 2023 18:33:30 -0500 Subject: [PATCH] use openssl req instead of older req_v3 command script was using an older openssl call, resolves #1 Signed-off-by: Eric F Crist --- perl/ssl-admin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/ssl-admin b/perl/ssl-admin index 1f551f5..f1da891 100755 --- a/perl/ssl-admin +++ b/perl/ssl-admin @@ -140,9 +140,9 @@ sub create_csr { chomp($yn = <>); } until $yn =~ m/^[yn]$/; if ($yn eq "y") { - system("cd $working_dir && openssl req_v3 -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); + system("cd $working_dir && openssl req -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); } elsif ($yn eq "n") { - system("cd $working_dir && openssl req_v3 -nodes -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); + system("cd $working_dir && openssl req -nodes -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); } }