Skip to content

Instantly share code, notes, and snippets.

View sagolubev's full-sized avatar
:octocat:
Working from home

sergey sagolubev

:octocat:
Working from home
View GitHub Profile
@sagolubev
sagolubev / cert
Created April 10, 2021 09:41
Script for certs generation
#!/bin/bash
#see https://docs.docker.com/engine/security/https/
EXPIRATIONDAYS=700
CASUBJSTRING="/C=GB/ST=London/L=London/O=ExampleCompany/OU=IT/CN=example.com/emailAddress=test@example.com"
while [[ $# -gt 1 ]]
do
key="$1"