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

NETBEANS-5956: Adding default java trust store to xml retriever #3207

Merged
merged 5 commits into from Oct 9, 2021

Conversation

asbachb
Copy link
Collaborator

@asbachb asbachb commented Oct 3, 2021

The current implementation does not include the default java trust store to validate https connections. This results into a popup asking the user to if he trusts the certificate.

This change adds the default java trust store to the validation logic. In addition some code cleanup were performed.

* A valid certificate should not popup a confirmation dialog
* A valid wildcard certificate should not popup a confirmation dialog
* An expired certificate should popup a confirmation dialog
* A self signed certificate should popup a confirmation dialog
* Client certificates should be supportde via system properties
The previous implementation did not load the default java trust store which
is added by this commit.
@asbachb asbachb changed the title Netbeans 5956: Adding default java trust store to xml retriever NETBEANS-5956: Adding default java trust store to xml retriever Oct 3, 2021
@matthiasblaesing
Copy link
Contributor

matthiasblaesing commented Oct 9, 2021

I think we indeed should have a follow up, but in any case this improves the situation with minimal problems. I'm willing to merge, if you agree, that you read the comments in the license statements at the top of the files and agree to donate the change to the ASF. Thank you.

@asbachb
Copy link
Collaborator Author

asbachb commented Oct 9, 2021

@matthiasblaesing Surely I agree. Happy to contribute to my favourite IDE.

@matthiasblaesing matthiasblaesing merged commit 8f35c5e into apache:master Oct 9, 2021
@asbachb asbachb deleted the NETBEANS-5956 branch October 9, 2021 16:13
@ebarboni ebarboni added this to the 12.6 milestone Oct 11, 2021
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.

None yet

3 participants