Skip to content

Rewrite katello-certs-check to Ruby#978

Draft
ekohl wants to merge 2 commits intotheforeman:developfrom
ekohl:rewrite-katello-certs-check-to-ruby
Draft

Rewrite katello-certs-check to Ruby#978
ekohl wants to merge 2 commits intotheforeman:developfrom
ekohl:rewrite-katello-certs-check-to-ruby

Conversation

@ekohl
Copy link
Member

@ekohl ekohl commented Sep 17, 2024

This makes it easier to maintain because the Ruby API is easier to handle than "parsing" the OpenSSL command line output.

As you can see, still very much a work in progress but I'm opening this up for early feedback on the concept.

This makes it easier to maintain because the Ruby API is easier to
handle than "parsing" the OpenSSL command line output.

# TODO
check('Verifying root is included in bundle has CA:TRUE') do
# TODO: oid for basicConstraints?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the impression you can rely on the name, but I wonder if that's always true.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would overwrite the previous implementation and a drop in replacement, but now it's useful to have them side by side to compare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant