-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
How to setup remote docker hosts with a TLS certificate? #2353
Comments
I have the exact same issue. I'd like to be able to somehow add client certs to the remote docker connection set up. As it is, I can't access the remote docker server with http or https as I'm strictly using https for other apps that connect to a remote docker service on my local lan. |
This isn't going to work currently as that would require using mutual TLS on the client side to connect to docker hosts. This also implies a new admin section where you can upload docker client certificates and since these certificates are per host, you'd need to be able to upload these for multiple hosts and then during a Docker Host Setup process in Kuma you would assign a client certificate to a host so in the future the selected client certificate would be used for the given docker host. +1 for this feature request! |
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days. |
I'm not sure if the feature is missing or instructions are unclear, but I would like to know how to do this as well |
🛡️ Security Policy
📝 Describe your problem
First of all, thank you very much for this beautiful peace of software. I'm using it since a couple of month now without any big issues.
I'm monitoring multiple remote machines which are running different docker containers. I'm able to access these containers via docker remote port 2375 successfully. But port 2375 is not protected by default, which is a security risk. Now I protected my docker sockets with a TLS certificate as decribed here.
In WhatUpDocker I can access the socket with a TLS client certifacte successfully with the follwing docker-compose settings:
But I can't figure out, how to use the same TLS client certificate files in Uptime Kuma. I tried the following docker-compose settings for Uptime-Kuma without success:
If I change the docker daemon setting in the docker host setup dialog from
http://192.168.1.20:2375
tohttps://192.168.1.20:2376
I only get a "socket hang up" error messages. The WIKI page "How to Monitor Docker Containers" isn't explaining, how we can use Port 2376 with a TLS certificate.It would be great, if we could have 3 more options to browse for the TLS files in the dialog, if I would select a "HTTPS" in the drop-down box. Or as an alternative to set these as an environment var.
How can I use my TLS client certificate? Any help is appreciated.
🐻 Uptime-Kuma Version
1.18.5
💻 Operating System and Arch
Ubuntu 22.04.1 LTS / Raspberry Pi 3b + Pi 4
🌐 Browser
Firefox 107
🐋 Docker Version
Docker 20.10.12
🟩 NodeJS Version
No response
The text was updated successfully, but these errors were encountered: