GithubHelp home page GithubHelp logo

srgrn / docker-tls-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frntn/docker-tls-helper

0.0 2.0 0.0 298 KB

Automate the process of creating the numerous certificates and keys to secure your docker daemon over TLS

Shell 100.00%

docker-tls-helper's Introduction

frntn/docker-tls-helper

One command to generate the numerous certificates and keys required to protect the Docker daemon socket.

Usage

Setup SRV_SUBJ and CLT_SUBJ environment variables and execute the script :

curl -sSL https://raw.githubusercontent.com/srgrn/docker-tls-helper/master/dockertls.sh | SRV_SUBJ="/CN=remote.example.com" CLT_SUBJ="/CN=Docker Admin CLI" bash

You can additionally Setup SRV_SAN environment variable to access your docker server from multiple endpoints :

curl -sSL https://raw.githubusercontent.com/srgrn/docker-tls-helper/master/dockertls.sh | SRV_SAN="DNS:docker.example.com,IP:1.1.1.1,IP:2.2.2.2" SRV_SUBJ="/CN=remote.example.com" CLT_SUBJ="/CN=Docker Admin CLI" bash

Result

Here is a screenshot of the generated ouput :

official-logo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.