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

unknown flag: --tls-ca-cert-path #4678

Closed
pramodak opened this issue May 11, 2022 · 2 comments · Fixed by #4686
Closed

unknown flag: --tls-ca-cert-path #4678

pramodak opened this issue May 11, 2022 · 2 comments · Fixed by #4686

Comments

@pramodak
Copy link
Contributor

Documentation of OPA security mentions "--tls-ca-cert-path"

Short description

Documentation of OPA security mentions "--tls-ca-cert-path", but I think, it should be "--tls-ca-cert-file"

Steps To Reproduce

Go to https://www.openpolicyagent.org/docs/latest/security/
Search for --tls-ca-cert-path

Also, when we try to use --tls-ca-cert-path while starting an OPA server, we see the usage displayed with the below error.
unknown flag: --tls-ca-cert-path

Expected behavior

Documentation should be corrected to mention --tls-ca-cert-file

@pramodak pramodak added the bug label May 11, 2022
@srenatus
Copy link
Contributor

Thanks for reporting. This would be a great first contribution! Would you be up to giving this a try?

@pramodak
Copy link
Contributor Author

Sure, I will check https://www.openpolicyagent.org/docs/edge/contrib-docs/ and contribute this change as a pull request.

anderseknert pushed a commit that referenced this issue May 13, 2022
Change --tls-ca-cert-path to --tls-ca-cert-file since --tls-ca-cert-path
is not a valid option (and a typo)

Fixes: #4678

Signed-off-by: Krishna Pramod A <krishna.adharapurapu@rakuten.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants