Skip to content

Database TLS configuration requires client certificates as well #4232

Description

@ctrowat

When configuring Cacti to connect to a mysql database using TLS $database_ssl = true; you are unable to specify only a ca certificate ($database_ssl_ca), a client certificate and key are both required for this setting to take hold. This leaves you unable to connect to databases that enforces TLS for client connections but does not enforce client certificates.

The problem seems to stem from here:
https://github.com/Cacti/cacti/blob/develop/lib/database.php#L69

Activity

  1. added
    bugUndesired behaviour
    unverifiedSome days we don't have a clue
    on Apr 14, 2021
  2. added and removed
    unverifiedSome days we don't have a clue
    on Apr 14, 2021
  3. added this to the v1.2.17 milestone on Apr 14, 2021
  4. locked and limited conversation to collaborators on Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions