-
Notifications
You must be signed in to change notification settings - Fork 189
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
make insecure upstream servers configurable #1007
Conversation
proxy/pkg/config/config.go
Outdated
@@ -106,6 +106,7 @@ type Config struct { | |||
PreSignedURL PreSignedURL | |||
AutoprovisionAccounts bool | |||
EnableBasicAuth bool | |||
Insecure bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming: How about rather calling that SkipCertValidation
or so?
But this is more in the area of nitpicking - just as you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is called Insecure everywhere in oCIS:
- PROXY_OIDC_INSECURE
- KONNECTD_INSECURE
- GLAUTH_BACKEND_INSECURE
- STORAGE_OIDC_INSECURE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change it to InsecureBackends to signify what is insecure
cbe9817
to
fe2efc3
Compare
Kudos, SonarCloud Quality Gate passed! |
At the moment we can disable certificate verification for the OIDC provider in the proxy. But you can not disable certificate verification for upstream servers defined in the proxy-config.json.
For some situations like testing, it is desirable to turn off certificate verification for upstream servers in the proxy.