Repository navigation
SSL support - #66
Closed
JakubVanek wants to merge 5 commits into
Closed
SSL support#66JakubVanek wants to merge 5 commits into
JakubVanek wants to merge 5 commits into
Conversation
Related to ev3dev-lang-java/ev3dev-lang-java#728 (comment) The problem is that ca-certificates-java relies on jri-N-ev3 for the java-command; however jri-N-ev3 also depends on ca-certificates java. The proper fix would be to specify a self-dependency as outlined in adoptium/installer#105 (comment) . This will probably somehow break the dependency cycle so that jri-N-ev3 is installed first and only then the ca-certificates-java package gets installed. This is nice, but the installation failure damages the system cacerts file and simple --reinstall is *not* enough to fix this, instead AFAIK all java packages have to be uninstalled and then reinstalled again. Let's instead ship the cacerts that ship with other AdoptOpenJDK builds. This will fix cacerts error from the start. If the user wants to use ca-certificates-java, this actually makes it possible to do so - they just need to install the package after jri-N-ev3 and then symlink /usr/lib/jvm/jri-N-ev3/lib/security/cacerts to /etc/ssl/certs/java/cacerts which is managed by ca-certificates-java. Nothing is perfect, though. The potential issue with Adopt's CA certificates is that they seem pretty old (~ 3 years). It seems that this is going to change: adoptium/adoptium-support#13 This change will however impact the JDK build script and not the packaging script.
Related to ev3dev-lang-java/ev3dev-lang-java#728 (comment) This removes the use of the CA certificates bundled in the AdoptOpenJDK repository. Instead the CA certificates are generated before each build from the Mozilla's trust database. This should ensure the most browser-like experience which I'd expect users to expect. Inspired by adoptium/adoptium-support#13 (comment)
Open
1 of 5 tasks
1 of 4 tasks
Contributor
Author
|
wontfix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
incorporates #61 + #62