summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTural Farhadov <tural.ferhadov@gmail.com>2023-04-07 20:07:58 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-11 20:50:19 +0000
commit826870220cfc165faf437b414d540ab5687c1d4c (patch)
treebbbe2f29f9f2c9c84894af361ff6ce3d507bd6dd
parent24fbed9f8c357123aeb97383220ed756c1526cfb (diff)
downloadmongo-826870220cfc165faf437b414d540ab5687c1d4c.tar.gz
SERVER-75652: fix authenticode signing failure
(cherry picked from commit b8853d4f02e80e03b7e11982d6d1b41f13f87924)
-rw-r--r--etc/evergreen_yml_components/definitions.yml2
-rw-r--r--evergreen/garasign_jsign_sign.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml
index 9b585a45581..5feefe0252b 100644
--- a/etc/evergreen_yml_components/definitions.yml
+++ b/etc/evergreen_yml_components/definitions.yml
@@ -7493,7 +7493,7 @@ tasks:
aws_secret: ${aws_secret}
permissions: public-read
build_variants: ["enterprise-windows", "windows"]
- local_file: src/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi
+ local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.msi
bucket: build-push-testing
content_type: application/x-msi
remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}-signed.msi
diff --git a/evergreen/garasign_jsign_sign.sh b/evergreen/garasign_jsign_sign.sh
index 3b4441139b4..3ae3176cae9 100644
--- a/evergreen/garasign_jsign_sign.sh
+++ b/evergreen/garasign_jsign_sign.sh
@@ -23,7 +23,7 @@ cat << 'EOF' > jsign_signing_commands.sh
function sign(){
if [ -e $1 ]
then
- jsign -a mongo-authenticode-2021 $1
+ jsign -a mongo-authenticode-2021 --replace --tsaurl http://timestamp.digicert.com -d SHA-256 $1
else
echo "$1 does not exist. Skipping signing"
fi