Public Repository

Last pushed: 2 years ago
Short Description
Docker wrapper for letsencrypt (not to trash the host system).
Full Description

Create local folders etc and lib to store certificates and other things.

#!/bin/sh
DOMAIN=$1
EMAIL=$2
ETC=`pwd`/etc
LIB=`pwd`/lib
docker run -it --rm -p 443:443 -p 80:80 --name letsencrypt \
        -v "$ETC:/etc/letsencrypt" \
        -v "$LIB:/var/lib/letsencrypt" \
        jamhed/letsencrypt \
        certonly -a standalone --rsa-key-size 4096 -m $EMAIL -d $DOMAIN --expand --text
Docker Pull Command
Owner
jamhed

Comments (0)