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

Ssl bundles not working because of wrong condition #3641

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

dimitarp
Copy link
Contributor

No description provided.

@pivotal-cla
Copy link

@dimitarp Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@dimitarp Thank you for signing the Contributor License Agreement!

@spencergibb
Copy link
Member

Can you describe the problem you're having and the purpose of the fix?

You will also need a test that would fail without your change.

@dimitarp
Copy link
Contributor Author

Thanks for looking at the PR! I've added a new commit with a test, which fails without the fix.

@spencergibb
Copy link
Member

Can you describe the problem you're having and the purpose of the fix?

@dimitarp
Copy link
Contributor Author

Can you describe the problem you're having and the purpose of the fix?

The problem is, that specifying a bundle doesn't work at all. The problem is the following if:

if (ssl.getSslBundle() == null || ssl.getSslBundle().length() > 0) {
    return null;
}

Returning null when the SSL Bundle name is not empty (ssl.getSslBundle().length() > 0) doesn't really make sense ;)

Copy link
Member

@spencergibb spencergibb left a comment

Choose a reason for hiding this comment

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

@spencergibb spencergibb changed the title Fix support for ssl bundles Ssl bundles not working because of wrong condition Dec 16, 2024
@spencergibb spencergibb added this to the 4.2.1 milestone Dec 16, 2024
@spencergibb spencergibb merged commit 84009f2 into spring-cloud:main Dec 16, 2024
1 of 2 checks passed
spencergibb added a commit that referenced this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants