--- loncom/CrCA.pl 2019/07/18 00:28:04 1.4 +++ loncom/CrCA.pl 2023/05/14 18:44:57 1.5 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # Script to create a Certificate Authority (CA) for a LON-CAPA cluster. # -# $Id: CrCA.pl,v 1.4 2019/07/18 00:28:04 raeburn Exp $ +# $Id: CrCA.pl,v 1.5 2023/05/14 18:44:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -176,7 +176,7 @@ END } else { print "A lonca directory is required, but no directory exists\n"; exit; - } + } if (-e "$dir/lonca/opensslca.conf") { # retrieve existing config file and verify that if contains the required fields. %data = &parse_config("$dir/lonca/opensslca.conf"); @@ -196,7 +196,7 @@ END A configuration file: $dir/lonca/opensslca.conf will be created. -The following information will be included: +The following information will be included: Country, State/Province, City, Cluster Name, Organizational Name, E-mail address, Default certificate lifetime (days), CRL re-creation interval (days) END @@ -347,7 +347,7 @@ END } else { exit; } - } + } } else { $sslkeypass = &get_new_sslkeypass(); # generate SSL key @@ -441,8 +441,8 @@ END chmod $mode, "$dir/lonca/index.txt"; } else { print "lonca/index.txt file is missing\n"; - exit; - } + exit; + } my $defcrlsel = 1; if (!-e "$dir/lonca/crl/loncapaCAcrl.pem") {