X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=commonFunctions.bash;h=a433fbea71e3158793cdf9bf22f0704c9b1d260d;hb=116b2fa14bd3601413690ce713282f41d8b78aeb;hp=36ffa19fad613285b80585cc1a3f0f39fe278020;hpb=15a2e696752bba33decf70e4ac7eed5e36d8d93e;p=nre.git diff --git a/commonFunctions.bash b/commonFunctions.bash index 36ffa19..a433fbe 100644 --- a/commonFunctions.bash +++ b/commonFunctions.bash @@ -3,7 +3,7 @@ genKey(){ #subj, internalName openssl genrsa -out $2.key ${KEYSIZE} - openssl req -new -key $2.key -out $2.csr -subj "$1/O=Test Environment CA Ltd./OU=Test Environment CAs/C=AU" + openssl req -new -key $2.key -out $2.csr -subj "$1/O=$ORGANIZATION/OU=$ORGANIZATIONAL_UNIT/C=$COUNTRY" } @@ -49,4 +49,3 @@ findLibfaketime() { printf >&2 'error: no libfaketime found\n' exit 1 # unfortunately, this will only exit the $() subshell } -