-
Notifications
You must be signed in to change notification settings - Fork 142
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
certificate signed by unknown authority #2444
Comments
Moved from Serving. CC @knative/func-writers |
@ysiivan I've found a solution for myself to this issue. You need to tell your buildpacks where your ca-certificates.crt is. You can do this by setting the buildEnvs in your func.yaml file. Set SSL_CERT_DIR to wherever it is you keep your certificates. If you have the SSL_CERT_DIR env set in your environment already, you can use the below mustache syntax to inject it.
If this still isn't working for you, you can always place your ca-certificates.crt in your function's working directory and replace |
This issue is stale because it has been open for 90 days with no |
Trying to build a function fails with
tls: failed to verify certificate: x509: certificate signed by unknown authority
I am behind the company's ssl terminating/traffic inspecting appliance and I'm used to having to tweak different systems to set the custom certificates.
The question is - how to do it for
knative
?. I followed this, but it made no difference.Any help?
P.S. Incidentally, the documentation shows creating a secret named
customca
, yet it is referred in the controller's yaml ascustom-certs
.The text was updated successfully, but these errors were encountered: