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

[WFCORE-944] truststore path is ignored if provider is not JKS #4242

Merged
merged 1 commit into from Jun 23, 2020

Conversation

rmartinc
Copy link
Contributor

Issue: https://issues.redhat.com/browse/WFCORE-944

I just used @darranl 's fix (#3841) but a manual test that used PKCS12 was modified to include this use-case. Indeed the test is better now. Previously the provider was not specified in the configuration (server-identity/ssl or authentication/truststore) and that seems to work in openjdk but fails in other implementations (IBM for example). So we are killing two birds with one stone.

@wildfly-ci wildfly-ci added the deps-ok Dependencies have been checked, and there are no significant changes label Jun 22, 2020
@jmesnil jmesnil requested a review from darranl June 23, 2020 06:41
@darranl
Copy link
Contributor

darranl commented Jun 23, 2020

It may be in the existing code, I can't quite see how the test activates a trust store with a different type?

@rmartinc
Copy link
Contributor Author

@darranl Yes, you are right, I'm re-using a previous PKCS12 test. Check this previous PR #4196 that adds it. This one just complements that previous one (adding the provider to everything and to the client part too).

@darranl darranl added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Jun 23, 2020
@jmesnil jmesnil merged commit 4ae6205 into wildfly:master Jun 23, 2020
@jmesnil
Copy link
Member

jmesnil commented Jun 23, 2020

@rmartinc thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
4 participants