Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added newest Cer link for version 24.0.0.5 and above #3734

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/main/content/_assets/js/builds.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down
Loading