Skip to content

Commit 951c098

Browse files
committed
Small renaming
1 parent 6636f65 commit 951c098

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

evergreen/convert-client-cert-to-pkcs12.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o errexit # Exit the script with an error if any of the commands fail
66
# CLIENT_PEM Path to mongo client.pem: must be set
77
# P12_FILENAME Filename for client certificate in p12 format
88
# P12_PASSWORD Password for client certificate in p12 format
9-
# FRIENDLY_NAME Friendly name for client certificate in p12 format
9+
# P12_FRIENDLY_NAME Friendly name for client certificate in p12 format
1010
# OUT_CLIENT_PATH_VAR Name of the output variable containing the path of the p12 certificate
1111
# OUT_CLIENT_PASSWORD_VAR Name of the output variable containing the password for the p12 certificate
1212
#
@@ -17,7 +17,7 @@ set -o errexit # Exit the script with an error if any of the commands fail
1717

1818
# Input environment variables and default values
1919
: "${CLIENT_PEM:=nil}"
20-
: "${FRIENDLY_NAME:="Drivers Client Certificate"}"
20+
: "${P12_FRIENDLY_NAME:="Drivers Client Certificate"}"
2121
: "${P12_FILENAME:="client.p12"}"
2222
: "${P12_PASSWORD:="Picard-Alpha-Alpha-3-0-5"}"
2323
: "${OUT_CLIENT_PATH_VAR:="MONGO_X509_CLIENT_CERTIFICATE_PATH"}"
@@ -30,7 +30,7 @@ fi
3030

3131
openssl pkcs12 -export -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg sha1 -in "${CLIENT_PEM}" \
3232
-out "${P12_FILENAME}" \
33-
-name "${FRIENDLY_NAME}" \
33+
-name "${P12_FRIENDLY_NAME}" \
3434
-password "pass:${P12_PASSWORD}"
3535

3636
# Determine path using realpath (compatible across macOS, Linux, and Windows)

evergreen/evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ functions:
10551055
${PREPARE_SHELL}
10561056
OS=${OS} \
10571057
evergreen/add-ca-certs.sh
1058-
FRIENDLY_NAME="Drivers No-User Client Certificate" \
1058+
P12_FRIENDLY_NAME="Drivers No-User Client Certificate" \
10591059
P12_FILENAME="client_no_user.p12" \
10601060
OUT_CLIENT_PASSWORD_VAR="MONGO_X509_CLIENT_NO_USER_CERTIFICATE_PASSWORD" \
10611061
OUT_CLIENT_PATH_VAR="MONGO_X509_CLIENT_NO_USER_CERTIFICATE_PATH" \

0 commit comments

Comments
 (0)