We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecde840 commit 6a2ded5Copy full SHA for 6a2ded5
test_ca/issue-cert.sh
@@ -16,6 +16,12 @@ X509_L=$3
16
UZI=$4
17
URA=$5
18
AGB=$6
19
+
20
+if [[ -z $HOST || -z $X509_O || -z $X509_L || -z $UZI || -z $URA || -z $AGB ]]; then
21
+ echo Usage: $0 HOST X509_O X509_L UZI URA AGB
22
+ exit 1
23
+fi
24
25
echo Generating key and certificate for $HOST
26
openssl genrsa -out out/$HOST.key 2048
27
openssl req -new -key out/$HOST.key -out $HOST.csr -subj "${DN_PREFIX}CN=${HOST}/O=${X509_O}/L=${X509_L}/serialNumber=${UZI}"
0 commit comments