[MXS-4442] MaxScale crashes when a certificate chain is used with the REST-API Created: 2022-12-13  Updated: 2023-03-22  Resolved: 2022-12-14

Status: Closed
Project: MariaDB MaxScale
Component/s: REST-API
Affects Version/s: 22.08.3
Fix Version/s: 22.08.4

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

If the PEM certificate given to admin_ssl_cert contained a chain of certificates instead of a single certificate, MaxScale would crash when the first request on the REST-API was made.

This happened because the list of certificates passed to GnuTLS was claimed to contain several certificates when the actual list of certificates used by MaxScale would only contain a single certificate. This would end up causing a crash.


Generated at Thu Feb 08 04:28:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.