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

Add support for OpenSSL 3.0 #13686

Closed
pshipton opened this issue Oct 12, 2021 · 10 comments
Closed

Add support for OpenSSL 3.0 #13686

pshipton opened this issue Oct 12, 2021 · 10 comments

Comments

@pshipton
Copy link
Member

pshipton commented Oct 12, 2021

Now that OpenSSL 3.0 is released, there should be support for it. OpenSSL 1.1.1 goes out of support 2023-09-11.

Note the license for v3 is different.
https://www.openssl.org/source/license.html

@ashbm5

@pshipton
Copy link
Member Author

pshipton commented Apr 11, 2022

Ubuntu 22_04 and RHEL 9 don't come with openssl 1.1 installed but openssl 3 instead. OpenJ9 crypto performance will not be good out of the box unless openssl 3 support is working.

@doveye
Copy link
Contributor

doveye commented Apr 19, 2022

This will require doc updates too, to say we're supporting OpenSSL 3.0 but also some topics mention OpenSSL versions, eg:

@doveye
Copy link
Contributor

doveye commented Apr 20, 2022

I've opened a doc issue at eclipse-openj9/openj9-docs#924. I've said this change applies to all JDK versions and all platforms - please add a comment to the doc issue if that assumption is incorrect.

@pshipton
Copy link
Member Author

OpenSSL v3 runtime support is added for Linux only in 0.32. Build support is in progress for a future release.

jdekonin added a commit to jdekonin/openj9 that referenced this issue Nov 14, 2022
* [skip ci]
* added for openssl3 support
* update wget with no certification option as most certificate have expired
* update build job to use latest container with these changes
* eclipse-openj9#13686

Signed-off-by: Joe deKoning <[email protected]>
@DanHeidinga
Copy link
Member

Sounds like we need an option like -XX:[+-]AllowOutOfSupportOpenSSL so the VM will default to only use the supported openssl versions but users can still opt into the old versions

@jasonkatonica
Copy link
Contributor

Hi Peter,
The openssl Semeru crypto code, which makes use of the openssl library, is currently able to tolerate openssl version 3.x APIs. We do have additional future work to migrate openssl 1.x deprecated APIs to openssl 3.x APIs. We do not believe this should prevent us from attempting to moving forward in next release with bundling / supporting openssl 3.x given that 1.x goes out of service this fall.

Since we are planning on shipping the 1.x bundled version of openssl with mac and windows in this next release, Id suggest that we shift to 3.x in the release following ( .40 ).

I do think that some packaging and build work will need to be done in order to build openssl 3.x on various platforms from source. I am unsure who will be working on this aspect of the issue.

@pshipton
Copy link
Member Author

We can move this to the appropriate Milestone plan once it's created. I know there are still build problems and they haven't been getting much attention, there is some status here.

@pshipton
Copy link
Member Author

pshipton commented Sep 5, 2023

@pshipton pshipton closed this as completed Sep 5, 2023
@doveye
Copy link
Contributor

doveye commented Sep 19, 2023

If OpenSSL 3 is now supported on operating systems other than Linux, please open another doc issue to make the necessary changes. For example, https://eclipse-openj9.github.io/openj9-docs/openssl/ still says it's Linux-only.

@Sreekala-Gopakumar FYI

@pshipton
Copy link
Member Author

Thanks. Created eclipse-openj9/openj9-docs#1171

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

No branches or pull requests

5 participants