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

Add support for skipping TLS certificate verification #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

comminutus
Copy link

CrowdSec now allows automatic agent registration if mutual-TLS is activated on the LAPI server/instance. This will probably be the most common way Kubernetes deployments of CrowdSec will operate.

However, when TLS mode is activated on the LAPI server, most of the time it will be using self-signed certificates. In this Traefik CrowdSec bouncer, it's possible to change the scheme from http to https, but certificate verification will fail with self-signed certificates. This PR adds an environment variable to allow one to deactivate certificate verification.

…iable which turns on/off TLS certificate verification
Copy link

codeclimate bot commented Dec 18, 2023

Code Climate has analyzed commit 844d586 and detected 0 issues on this pull request.

View more on Code Climate.

@GoliathLabs
Copy link

@fbonalair Do you have time to look at this PR?

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 this pull request may close these issues.

None yet

2 participants