Describe the bug
When an administrator set's up MySQL or MariaDB SSL connectivity, the option to require the Certificate Authority file is optional. However, in Cacti's SSL database layer its presently mandatory.
To Reproduce
-
Setup mysql to use openssl security and to make it mandatory but not require a CA file.
-
Specify only the cert and key options for the client connection.
-
Attempt to connect to Cacti
-
See error
Expected behavior
Cacti should allow just the key and the cert options when logging in.