Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.2.41 , 10.3.32 , 10.4.22 , 10.5.13 , 10.6.5 , 10.7.1
Based on a discussion with sysprg , the SST script changes from MDEV-26360 allow users to configure a CA directory by setting ssl_ca , like this:
[mariadb]
...
wsrep_ssl_mode = SERVER_X509
ssl_ca = /certs/ca-cert/
ssl_cert = /certs/server-cert.pem
ssl_key = /certs/server-key.pem
This implementation is likely to result in problems. ssl_ca is a system variable owned by MariaDB Server. MariaDB Server expects the ssl_ca system variable to refer to an absolute path to a single PEM file:
ssl_ca
Description: Defines a path to a PEM file that should contain one or more X509 certificates for trusted Certificate Authorities (CAs) to use for TLS. This system variable requires that you use the absolute path, not a relative path. This system variable implies the ssl option.
https://mariadb.com/kb/en/ssltls-system-variables/#ssl_ca
If a Galera user tries to set the ssl_ca system variable to a path to a directory, MariaDB Server is likely to encounter an error during startup when it tries to treat the value as a path to a PEM file.
However, there is an easy solution. MariaDB Server provides the ssl_capath system variable to refer to a directory:
ssl_capath
Description: Defines a path to a directory that contains one or more PEM files that should each contain one X509 certificate for a trusted Certificate Authority (CA) to use for TLS. This system variable requires that you use the absolute path, not a relative path. The directory specified by this variable needs to be run through the openssl rehash command. This system variable implies the ssl option.
https://mariadb.com/kb/en/ssltls-system-variables/#ssl_capath
If we would like Galera users to be able to specify a path to a directory of CA certificates, we should probably use ssl_capath for this--not ssl_ca .
{"report":{"fcp":1070.1999998092651,"ttfb":351.80000019073486,"pageVisibility":"visible","entityId":105773,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bbdab7b2-f2d8-4b81-94b5-e508c93cbe9c","navigationType":0,"readyForUser":1315.3000001907349,"redirectCount":0,"resourceLoadedEnd":1396.3999996185303,"resourceLoadedStart":358.80000019073486,"resourceTiming":[{"duration":71.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":358.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":430.5,"responseStart":0,"secureConnectionStart":0},{"duration":71.79999923706055,"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":359.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":359.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":430.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":161.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":359.30000019073486,"connectEnd":359.30000019073486,"connectStart":359.30000019073486,"domainLookupEnd":359.30000019073486,"domainLookupStart":359.30000019073486,"fetchStart":359.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":359.30000019073486,"responseEnd":520.8999996185303,"responseStart":520.8999996185303,"secureConnectionStart":359.30000019073486},{"duration":218.30000019073486,"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":359.5,"connectEnd":359.5,"connectStart":359.5,"domainLookupEnd":359.5,"domainLookupStart":359.5,"fetchStart":359.5,"redirectEnd":0,"redirectStart":0,"requestStart":359.5,"responseEnd":577.8000001907349,"responseStart":577.8000001907349,"secureConnectionStart":359.5},{"duration":232.39999961853027,"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":359.6000003814697,"connectEnd":359.6000003814697,"connectStart":359.6000003814697,"domainLookupEnd":359.6000003814697,"domainLookupStart":359.6000003814697,"fetchStart":359.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":359.6000003814697,"responseEnd":592,"responseStart":592,"secureConnectionStart":359.6000003814697},{"duration":232.60000038146973,"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":359.8999996185303,"connectEnd":359.8999996185303,"connectStart":359.8999996185303,"domainLookupEnd":359.8999996185303,"domainLookupStart":359.8999996185303,"fetchStart":359.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":359.8999996185303,"responseEnd":592.5,"responseStart":592.5,"secureConnectionStart":359.8999996185303},{"duration":235.80000019073486,"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":360.19999980926514,"connectEnd":360.19999980926514,"connectStart":360.19999980926514,"domainLookupEnd":360.19999980926514,"domainLookupStart":360.19999980926514,"fetchStart":360.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":360.19999980926514,"responseEnd":596,"responseStart":596,"secureConnectionStart":360.19999980926514},{"duration":316.3999996185303,"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":360.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":676.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":236.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":360.5,"connectEnd":360.5,"connectStart":360.5,"domainLookupEnd":360.5,"domainLookupStart":360.5,"fetchStart":360.5,"redirectEnd":0,"redirectStart":0,"requestStart":360.5,"responseEnd":597,"responseStart":597,"secureConnectionStart":360.5},{"duration":316.19999980926514,"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":360.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":676.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":237,"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":361.30000019073486,"connectEnd":361.30000019073486,"connectStart":361.30000019073486,"domainLookupEnd":361.30000019073486,"domainLookupStart":361.30000019073486,"fetchStart":361.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":361.30000019073486,"responseEnd":598.3000001907349,"responseStart":598.3000001907349,"secureConnectionStart":361.30000019073486},{"duration":374.6000003814697,"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":362.69999980926514,"connectEnd":362.69999980926514,"connectStart":362.69999980926514,"domainLookupEnd":362.69999980926514,"domainLookupStart":362.69999980926514,"fetchStart":362.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":362.69999980926514,"responseEnd":737.3000001907349,"responseStart":737.3000001907349,"secureConnectionStart":362.69999980926514},{"duration":618.0999994277954,"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":362.80000019073486,"connectEnd":362.80000019073486,"connectStart":362.80000019073486,"domainLookupEnd":362.80000019073486,"domainLookupStart":362.80000019073486,"fetchStart":362.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":362.80000019073486,"responseEnd":980.8999996185303,"responseStart":980.8999996185303,"secureConnectionStart":362.80000019073486},{"duration":45,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":693.1999998092651,"connectEnd":693.1999998092651,"connectStart":693.1999998092651,"domainLookupEnd":693.1999998092651,"domainLookupStart":693.1999998092651,"fetchStart":693.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":693.1999998092651,"responseEnd":738.1999998092651,"responseStart":738.1999998092651,"secureConnectionStart":693.1999998092651},{"duration":241.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":772.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":772.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1014.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":614.4000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":773.6999998092651,"connectEnd":773.6999998092651,"connectStart":773.6999998092651,"domainLookupEnd":773.6999998092651,"domainLookupStart":773.6999998092651,"fetchStart":773.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":773.6999998092651,"responseEnd":1388.1000003814697,"responseStart":1388.1000003814697,"secureConnectionStart":773.6999998092651},{"duration":622.2999992370605,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":774.1000003814697,"connectEnd":774.1000003814697,"connectStart":774.1000003814697,"domainLookupEnd":774.1000003814697,"domainLookupStart":774.1000003814697,"fetchStart":774.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":774.1000003814697,"responseEnd":1396.3999996185303,"responseStart":1396.3999996185303,"secureConnectionStart":774.1000003814697},{"duration":415.79999923706055,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1062.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1062.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1477.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":328.79999923706055,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1076.1000003814697,"connectEnd":1076.1000003814697,"connectStart":1076.1000003814697,"domainLookupEnd":1076.1000003814697,"domainLookupStart":1076.1000003814697,"fetchStart":1076.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1076.1000003814697,"responseEnd":1404.8999996185303,"responseStart":1404.6999998092651,"secureConnectionStart":1076.1000003814697}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":189,"responseStart":352,"responseEnd":355,"domLoading":357,"domInteractive":1485,"domContentLoadedEventStart":1485,"domContentLoadedEventEnd":1562,"domComplete":2586,"loadEventStart":2586,"loadEventEnd":2587,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1397.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1398.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":1398.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1401},{"name":"activityTabFullyLoaded","time":1585.1999998092651}],"measures":[],"correlationId":"35df24a40d72e8","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}