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

Foreman 3.12.1 cherry picks #996

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 19, 2024

This adds support for OpenJDK 17, which became default on EL 9.5 and broke Katello installations. It also reverts 914c3cb because OpenSSL on EL8 doesn't support the -no-CApath option. Rather than trying to detect the support, this keeps it simple.

OpenJDK 17's keytool now requires the keyalg parameter. EL 9.5 has made
OpenJDK 17 the default version which means it broke fresh Katelllo
installations.

(cherry picked from commit 3af9f20)
This moves the code around to easily test the logic without making
actual changes to the logic. Arguably this also makes the hook itself
easier to read.

(cherry picked from commit 10647cd)
Java < 11 uses version 1.X where X is the major while Java 11 drops the
old 1. prefix.

(cherry picked from commit 4c89c65)
…tes"

This reverts commit 914c3cb because
OpenSSL on EL8 doesn't support the `-no-CApath` option.
@ekohl ekohl merged commit 27e5ded into theforeman:3.12-stable Nov 19, 2024
8 checks passed
@ekohl ekohl deleted the foreman-3.12.1-picks branch November 19, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants