-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
behind proxy: ssl_client: archive.apache.org: certificate verification failed: unable to get local issuer certificate #483
Comments
I'm not seeing any issues on travis or locally. Perhaps you have an outdate base image (i.e. expired root trust store) ? Try doing a Alternatively, you should just be able to use a pre-built kafka image hosted on dockerhub -https://hub.docker.com/r/wurstmeister/kafka/ |
@sscaling I think it is good to give a little bit of context here. The image is the latest one. The problem is that all the company network connections are made through a certificate that apparently is not widely trusted, so some software point correctly that there's a SSL error. Fixing this certificate is out of my reach, so what we need to do is usually tweaks. This is my suggestion for this Docker image, specifically. If nobody thinks it is necessary to improve, feel free to close this issue. |
Do you mean via a proxy with a not widely trusted cert? |
@sscaling Yes, exactly. |
It sounds like the image would first need to fully support proxies (currently it does not). Then you could either build your own image based on this image as the base and just add the relevant certs to the CA root store. So until then, probably maintaining your own fork is probably the easiest. |
Executing:
I got:
Got to solve replacing line 18 at
download-kafka.sh
:By:
And line 35 at
Dockerfile
:By:
But I'm not sure if this is the best way to solve it. If it is, I can submit a PR.
The text was updated successfully, but these errors were encountered: