Hi,
for a POC I have deployed the Tyk Gateway in Kubernetes using the helm-charts.
I am able to create a new API in the Tyk-Gateway by sending the request within Intellj-IDE.
I have set the following environment variables in a configuration file (yaml) which I use with helm to apply the new configuration:
extraEnvs:
- name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY
value: "true"
- name: TYK_LOGLEVEL
value: "debug"
and in the tls section:
tls:
# This options allows you to skip verifying the TLS certificate. This is typically enabled when using self-signed certs.
insecureSkipVerify: true
I can see in the shell (on the GW side) that the variables are correctly loaded and when checking the log, that the log level is debug. So I expect that ssl_insecure_skip_verify is also enabled.
When sending a request to the Tyk-GW which must be forwarded to a service (using https) I got the error message: “http: proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority”
This means that the SSL Verfication remains enabled. How can I disable it?
Why setting TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY here is not the solution?
Thank you in advance!