-
Notifications
You must be signed in to change notification settings - Fork 60
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
Secure Connection #34
Comments
I suspect the issue is with your system level certificate store. Python uses Openssl which is generally installed and configured by your OS vendor. Could you try installing the remote server's cert in your cert store? Googling 'commandline add certificate to " usually is helpful. Sorry, my week is packed so it may be a few days before I can write anything more detailed. |
Adding the private CA cert to the system store could/should help resolve the Docker (server) cert, but I think he's running into what I was looking for also -- a way to supply a client cert/key pair for authentication. There is some info at the end of this page: https://docs.docker.com/engine/security/https/#other-modes But basically supplying the equivalent of:
or the curl use of the api..
Basically for Docker daemons that require server and client verification. Not sure if this command would use client certs from some keyring or something ? I read you're busy.. no rush, just curious also :) |
Sorry, when I initially read I hadn't caught onto the client cert detail. I will see if there is a sensible way of doing that. |
Hi, I integrate TLS certificate files for secure Docker daemon socket in pull request #44 |
If you are interested, I change the script check_swarm.py to integrate TLS certificate files, see pull request #44 |
@osfrance works in my environment. |
I ran into the same problem - anyone able to help? |
I was also facing the similar kind of issue, when used curl with certs it is working but through the script facing the same issue. I would suspect certs are not reading properly when making https request |
Hi,
I can't use check_docker with my secure docker daemon.
I need to use client certificates, but where do I have to store them?
Are there any command line arguments or environment variables?
The text was updated successfully, but these errors were encountered: