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

feat: allow verification of ssl/tls certificates used by Truenas host #65

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

ThorpeJosh
Copy link
Owner

resolves #64

Added new environment variable SKIP_CERT_VERIFY that when set as SKIP_CERT_VERIFY=true, then script will retain previous behavior and use the curl --insecure flag.

If not set to true or not set at all, then curl will perform ssl/tls certificate verification. This will add security for users that have Truenas servers with signed certificates.

Those using Truenas' default self-signed certificates will need to add SKIP_CERT_VERIFY=true.

@ThorpeJosh ThorpeJosh merged commit ade85b0 into main Nov 17, 2024
2 checks passed
@ThorpeJosh ThorpeJosh deleted the certs branch November 17, 2024 10:30
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.

Add option for SSL certificate verification
1 participant