Generate a client certificate which could connect to the Docker host with tls. In Jenkins, add a credential of "Docker Host Certificate Authentication" type with the client certificate. Use the credential in Docker plugin.
On Thu, Mar 26, 2020 at 7:58 AM Gil <[email protected]> wrote: > Hello All - > > On the Docker host, I enable remote API with with the TLS option (i.e. > create CA server/client keys to protect the daemon socket as described in > https://docs.docker.com/engine/security/https/). All is well. > > Now, my question is, on the Jenkins side, with the Docker plugin, how do I > configure this plugin so that it / Jenkins can connect to the Docker host > securely with the certificate generated above? Or better yet, what's the > right / best method to configure Jenkins Docker plugin to securely connect > to the remote Docker host? > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/a40b6552-9206-49e2-84a0-e81fc51050ad%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/a40b6552-9206-49e2-84a0-e81fc51050ad%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks, Baibai -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMRm5jaL4_EWhpGPc5wrYQAW4S-P0Av95kzsD0oP1tyhJSwSHw%40mail.gmail.com.
