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(cli): add option to skip tls verification or define ca certificate #6733

Open
nwsparks opened this issue Sep 15, 2023 · 0 comments
Open
Labels
community Community contribution feature request Community: new feature request

Comments

@nwsparks
Copy link

Is your feature request related to a problem? Please describe.

We have to operate behind an outbound proxy that does ssl inspection. When executing from the container we receive the following error since the proxy CA certs are not available inside of it.

WRN Unable to get descriptions: Get "https://kics.io/api/": tls: failed to verify certificate: x509: certificate signed by unknown authority

Describe the solution you'd like

Ideally a flag such as --skip-tls-verify

Describe alternatives you've considered

I've tried the golang env variables without luck

GOINSECURE=kics.io
GO_TLS_VERIFY=0

Another option would be to rebuild the container you provide with our ca certs loaded but that is cumbersome.

@nwsparks nwsparks added community Community contribution feature request Community: new feature request labels Sep 15, 2023
@nwsparks nwsparks changed the title feat(cli arg): add option to skip tls verification or define ca certificate feat(cli): add option to skip tls verification or define ca certificate Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution feature request Community: new feature request
Projects
None yet
Development

No branches or pull requests

1 participant