There are some documented changes in OpenSSL 3.0: https://wiki.openssl.org/index.php/OpenSSL_3.0 but there are also some changes that should not be visible. However, since other SW depends on some internals, the changes actually affect the compatibility more than documented.
MariaDB 10.5.9 (expecting 10.6.x behaves the same) fails to build with this upcoming OpenSSL 3.0.
The problem is mainly with md5, sha and crypto parts.
I think preview-10.8-MDEV-25785-openssl3.0 as of 7cd965af can and should be pushed into the main 10.8 and released with 10.8.1. There are some limitations and can be a lot of unknowns, depending on the variety of environments and systems, which is why we need the community feedback.
Current status:
Linux: The server and most plugins build with basic build configurations (RelWithDebInfo, Debug, mysql_release) on a variety of Linux versions. Checked: Ubuntu 18.04/20.04, Debian 9/10/11, SLES 12/15, RHEL 7/8, x86_64/aarch64; Ubuntu 20.04 ppc64le; OpenSSL 3.0.1, in-source build and build + local installation in custom location.
A user should be careful with cmake options to make sure the custom OpenSSL 3 does not mix up with the default OpenSSL installation of a different version, MDEV-27540 to track (not directly related to this task)
On Fedora Rawhide, where OpenSSL 3.0.0 is installed by default, the packages can be built and installed with it
Limitations:
Columnstore has to be disabled, MCOL-4962 (unrelated to this task) and MCOL-4964 to track;
If btrfs is in use, which is one of Rawhide's defaults, the server may not run. We are looking into it (unrelated to this task), meanwhile use XFS.
On Windows, the server can be built and run with both OpenSSL 3.0.0 installed from slpro and with OpenSSL 3.0.1 built locally
Limitations:
For a local OpenSSL build, installation must be performed (nmake install). With an in-source build, MariaDB server will compile/link, but will issue runtime errors (probably has always been so, and various README notes also suggest installation).
CI: There is a Ubuntu 20.04-based buildbot builder which currently builds the server with a local OpenSSL 3.0.1 installation, and there will soon be a Rawhide-based builder which will run RPM builds with the system-wide OpenSSL 3.
Other notes:
There are a few binaries/plugins which still link with OpenSSL 1.x, whether legitimately or not, it is being looked into (MDEV-27542)
I didn't manage to build deb packages with OpenSSL 3.0 yet, there are some configuration issues to work around. It shouldn't be important for initial adoption though.
Elena Stepanova
added a comment - - edited I think preview-10.8-MDEV-25785-openssl3.0 as of 7cd965af can and should be pushed into the main 10.8 and released with 10.8.1. There are some limitations and can be a lot of unknowns, depending on the variety of environments and systems, which is why we need the community feedback.
Current status:
Linux: The server and most plugins build with basic build configurations (RelWithDebInfo, Debug, mysql_release) on a variety of Linux versions. Checked: Ubuntu 18.04/20.04, Debian 9/10/11, SLES 12/15, RHEL 7/8, x86_64/aarch64; Ubuntu 20.04 ppc64le; OpenSSL 3.0.1, in-source build and build + local installation in custom location.
Limitations:
Columnstore does not build, MCOL-4964 to track;
A user should be careful with cmake options to make sure the custom OpenSSL 3 does not mix up with the default OpenSSL installation of a different version, MDEV-27540 to track (not directly related to this task)
On Fedora Rawhide, where OpenSSL 3.0.0 is installed by default, the packages can be built and installed with it
Limitations:
Columnstore has to be disabled, MCOL-4962 (unrelated to this task) and MCOL-4964 to track;
If btrfs is in use, which is one of Rawhide's defaults, the server may not run. We are looking into it (unrelated to this task), meanwhile use XFS.
On Windows, the server can be built and run with both OpenSSL 3.0.0 installed from slpro and with OpenSSL 3.0.1 built locally
Limitations:
For a local OpenSSL build, installation must be performed ( nmake install ). With an in-source build, MariaDB server will compile/link, but will issue runtime errors (probably has always been so, and various README notes also suggest installation).
CI: There is a Ubuntu 20.04-based buildbot builder which currently builds the server with a local OpenSSL 3.0.1 installation, and there will soon be a Rawhide-based builder which will run RPM builds with the system-wide OpenSSL 3.
Other notes:
There are a few binaries/plugins which still link with OpenSSL 1.x, whether legitimately or not, it is being looked into ( MDEV-27542 )
I didn't manage to build deb packages with OpenSSL 3.0 yet, there are some configuration issues to work around. It shouldn't be important for initial adoption though.
elenst Codership reported earlier that Galera library will build with OpenSSL 3.0 but I have not tested (MDEV-25949 ).
Jan Lindström (Inactive)
added a comment - elenst Codership reported earlier that Galera library will build with OpenSSL 3.0 but I have not tested ( MDEV-25949 ).
Galera library is obviously out of this server task, it was also stated in advance in this comment.
I did run .*ssl.* MTR tests as a part of the Linux exercise, including tests in the galera suite with an existing galera-4 library, on a server linked with openssl3, they passed. This is as much as I can say about the current Galera status.
Elena Stepanova
added a comment - Galera library is obviously out of this server task, it was also stated in advance in this comment .
I did run .*ssl.* MTR tests as a part of the Linux exercise, including tests in the galera suite with an existing galera-4 library, on a server linked with openssl3, they passed. This is as much as I can say about the current Galera status.
People
Sergei Golubchik
Honza Horak
Votes:
3Vote for this issue
Watchers:
12Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1606,"ttfb":593.7000000476837,"pageVisibility":"visible","entityId":99979,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"83b31f1f-6cbd-43a5-9d7a-cc61a5110913","navigationType":0,"readyForUser":1690.8999999761581,"redirectCount":0,"resourceLoadedEnd":1271.7000000476837,"resourceLoadedStart":636.3999999761581,"resourceTiming":[{"duration":191.30000007152557,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":636.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":636.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":827.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":191.30000007152557,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":636.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":636.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":828.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":503.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":637.2999999523163,"connectEnd":637.2999999523163,"connectStart":637.2999999523163,"domainLookupEnd":637.2999999523163,"domainLookupStart":637.2999999523163,"fetchStart":637.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":831.8999999761581,"responseEnd":1140.8999999761581,"responseStart":849.2999999523163,"secureConnectionStart":637.2999999523163},{"duration":634.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":637.5,"connectEnd":637.5,"connectStart":637.5,"domainLookupEnd":637.5,"domainLookupStart":637.5,"fetchStart":637.5,"redirectEnd":0,"redirectStart":0,"requestStart":834.2999999523163,"responseEnd":1271.7000000476837,"responseStart":879.2000000476837,"secureConnectionStart":637.5},{"duration":280.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":637.7000000476837,"connectEnd":637.7000000476837,"connectStart":637.7000000476837,"domainLookupEnd":637.7000000476837,"domainLookupStart":637.7000000476837,"fetchStart":637.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":835.7999999523163,"responseEnd":918.1000000238419,"responseStart":899.5,"secureConnectionStart":637.7000000476837},{"duration":326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":637.7999999523163,"connectEnd":637.7999999523163,"connectStart":637.7999999523163,"domainLookupEnd":637.7999999523163,"domainLookupStart":637.7999999523163,"fetchStart":637.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":877.3999999761581,"responseEnd":963.7999999523163,"responseStart":927.8999999761581,"secureConnectionStart":637.7999999523163},{"duration":353.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":638,"connectEnd":638,"connectStart":638,"domainLookupEnd":638,"domainLookupStart":638,"fetchStart":638,"redirectEnd":0,"redirectStart":0,"requestStart":877.6000000238419,"responseEnd":991.6000000238419,"responseStart":964.1000000238419,"secureConnectionStart":638},{"duration":237,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":638.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":638.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":875.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":353.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":638.3999999761581,"connectEnd":638.3999999761581,"connectStart":638.3999999761581,"domainLookupEnd":638.3999999761581,"domainLookupStart":638.3999999761581,"fetchStart":638.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":877.7000000476837,"responseEnd":992,"responseStart":980.2000000476837,"secureConnectionStart":638.3999999761581},{"duration":237,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":638.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":638.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":875.5,"responseStart":0,"secureConnectionStart":0},{"duration":368,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":638.7000000476837,"connectEnd":638.7000000476837,"connectStart":638.7000000476837,"domainLookupEnd":638.7000000476837,"domainLookupStart":638.7000000476837,"fetchStart":638.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":878.2000000476837,"responseEnd":1006.7000000476837,"responseStart":994.5,"secureConnectionStart":638.7000000476837},{"duration":591.3999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":658.6000000238419,"connectEnd":658.6000000238419,"connectStart":658.6000000238419,"domainLookupEnd":658.6000000238419,"domainLookupStart":658.6000000238419,"fetchStart":658.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1032.7000000476837,"responseEnd":1250,"responseStart":1236.1000000238419,"secureConnectionStart":658.6000000238419},{"duration":592,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":658.7999999523163,"connectEnd":658.7999999523163,"connectStart":658.7999999523163,"domainLookupEnd":658.7999999523163,"domainLookupStart":658.7999999523163,"fetchStart":658.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1087.6000000238419,"responseEnd":1250.7999999523163,"responseStart":1242.8999999761581,"secureConnectionStart":658.7999999523163},{"duration":214.69999992847443,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1307.7000000476837,"connectEnd":1307.7000000476837,"connectStart":1307.7000000476837,"domainLookupEnd":1307.7000000476837,"domainLookupStart":1307.7000000476837,"fetchStart":1307.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1475,"responseEnd":1522.3999999761581,"responseStart":1510.6000000238419,"secureConnectionStart":1307.7000000476837},{"duration":351,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1564.6000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1564.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1915.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":255.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1603.3999999761581,"connectEnd":1603.3999999761581,"connectStart":1603.3999999761581,"domainLookupEnd":1603.3999999761581,"domainLookupStart":1603.3999999761581,"fetchStart":1603.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1814.8999999761581,"responseEnd":1859,"responseStart":1852.7000000476837,"secureConnectionStart":1603.3999999761581}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":327,"responseStart":594,"responseEnd":658,"domLoading":601,"domInteractive":1782,"domContentLoadedEventStart":1782,"domContentLoadedEventEnd":1837,"domComplete":2344,"loadEventStart":2344,"loadEventEnd":2345,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1741.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1742.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.start","time":1743.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1745.2999999523163},{"name":"activityTabFullyLoaded","time":1929.6000000238419}],"measures":[],"correlationId":"2db2e75f4244b3","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":131,"dbReadsTimeInMs":33,"dbConnsTimeInMs":44,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Thanks Vladislav very much for your info!