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

Enable "check-ssl" and "verify none" in HAProxy configuration if certfile is false #103

Open
danopt opened this issue Oct 21, 2022 · 0 comments · May be fixed by #104
Open

Enable "check-ssl" and "verify none" in HAProxy configuration if certfile is false #103

danopt opened this issue Oct 21, 2022 · 0 comments · May be fixed by #104

Comments

@danopt
Copy link

danopt commented Oct 21, 2022

Changes are required to make HAProxy work if certfile is specified:
"certfile: (optional): Specifies the file with the certificate in the PEM format. If the certfile is not specified or is left empty, the API server will work without SSL."

There also should be considered if verify_client is set to "required", that HAProxy probably needs certificates to communicate with the Patroni REST-API for safe requests:
"verify_client: (optional): none (default), optional or required. When none REST API will not check client certificates. When required client certificates are required for all REST API calls. When optional client certificates are required for all unsafe REST API endpoints. When required is used, then client authentication succeeds if the certificate signature verification succeeds. "

@danopt danopt changed the title Enable "check-ssl" and "verify none" in HAProxy configuration for API requests to Patroni Enable "check-ssl" and "verify none" in HAProxy configuration if certfile is specified Oct 21, 2022
@danopt danopt changed the title Enable "check-ssl" and "verify none" in HAProxy configuration if certfile is specified Enable "check-ssl" and "verify none" in HAProxy configuration if certfile is false Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant