Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database TLS configuration requires client certificates as well #4232

Closed
ctrowat opened this issue Apr 14, 2021 · 0 comments
Closed

Database TLS configuration requires client certificates as well #4232

ctrowat opened this issue Apr 14, 2021 · 0 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@ctrowat
Copy link
Contributor

ctrowat commented Apr 14, 2021

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

@ctrowat ctrowat added bug Undesired behaviour unverified Some days we don't have a clue labels Apr 14, 2021
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Apr 14, 2021
@TheWitness TheWitness added this to the v1.2.17 milestone Apr 14, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants