Skip to content

Instantly share code, notes, and snippets.

@virtimus
Last active August 23, 2018 23:50
Show Gist options
  • Save virtimus/ad273379985473e84b67c611db7f1fd6 to your computer and use it in GitHub Desktop.
Save virtimus/ad273379985473e84b67c611db7f1fd6 to your computer and use it in GitHub Desktop.

The domain mapped to ip of shost

currently implemented as i3c-cli:

/i cert [subdomain]
mkdir /etc/letsencrypt
docker run -it --rm --name certbot \
            -p 80:80 \
            -p 443:443 \
            -v "/etc/letsencrypt:/etc/letsencrypt" \
            -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
            certbot/certbot certonly

1 - standalone with temp ws

Certs in /etc/letsencrypt/live

Further configuration manual (depends on platform/server)

refs: https://certbot.eff.org/docs/install.html#running-with-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment