Public | Automated Build

Last pushed: 4 months ago
Short Description
image to work with letsenctypt certs
Full Description

letsencrypt

Build image

docker build -t uchiru/acmesh .

Examples

Generate new cert

docker run --rm -it -v "$(pwd)/out":/acme.sh \
    -e PROVIDER=dnsimple \
  -e LEXICON_DNSIMPLE_TOKEN=$LEXICON_DNSIMPLE_TOKEN \
  -e LEXICON_DNSIMPLE_USERNAME=$LEXICON_DNSIMPLE_USERNAME \
    uchiru/acmesh --issue -d example.com --dns dns_lexicon

Install cert to directory

docker run --rm -it \
    -v "$(pwd)/out":/acme.sh \
    -v /opt/certs:/opt/certs \
    uchiru/acmesh --install-cert \
    -d grafana.runit.cc \
    --key-file /opt/certs/example.com.key \
    --fullchain-file /opt/certs/example.com.crt

Add cron job

docker run --rm -it  \
  -v "$(pwd)/out":/acme.sh  \
  --net=host \
  uchiru/acmesh  --cron
Docker Pull Command
Owner
uchiru
Source Repository

Comments (0)