From b0bb81250ba1720d014d4566d9bcfee2b518f116 Mon Sep 17 00:00:00 2001 From: SteveSamJacob19 Date: Wed, 15 May 2024 12:09:42 +0530 Subject: [PATCH] Added newest cer --- src/main/content/_assets/js/builds.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/content/_assets/js/builds.js b/src/main/content/_assets/js/builds.js index 93624d2cd8..7c7d0c3352 100644 --- a/src/main/content/_assets/js/builds.js +++ b/src/main/content/_assets/js/builds.js @@ -130,21 +130,27 @@ function getPublicKeyURL(liberty_version) { var liberty_versions_using_2023_pem = ["23.0.0.2", "23.0.0.3", "23.0.0.4", "23.0.0.5", "23.0.0.6", "23.0.0.7", "23.0.0.8", "23.0.0.9", "23.0.0.10", "23.0.0.11", "23.0.0.12"]; + var liberty_versions_using_2024_v1_pem = ["24.0.0.1", "24.0.0.2", "24.0.0.3", "24.0.0.4"]; + var pem_2021_href = "https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/sign/public_keys/WebSphereLiberty_06-02-2021.pem"; var pem_2023_href = "https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/sign/public_keys/OpenLiberty_02-13-2023.pem"; - var pem_2024_href = + var pem_2024_v1_href = "https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/sign/public_keys/OpenLiberty_02-13-2023.pem.cer"; + + var pem_2024_v2_href = "https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/sign/public_keys/OpenLiberty_05-08-2024.pem.cer" if(liberty_versions_using_2021_pem.indexOf(liberty_version) > -1) { return pem_2021_href; } else if(liberty_versions_using_2023_pem.indexOf(liberty_version) > -1) { return pem_2023_href; + } else if(liberty_versions_using_2024_v1_pem.indexOf(liberty_version) > -1) { + return pem_2024_v1_href; } else { - return pem_2024_href; + return pem_2024_v2_href; } }