Sign inSign up

slinred/strato-acme

By slinred

Updated about 1 month ago

acme.sh and the strato-dns-api to allow for automatic (wildcard) certificates on Strato domains.

Image
Networking
Security
Web servers
0

2.2K

slinred/strato-acme repository overview

Overview

A ready-to-go docker container/image that wraps the acme.sh script and the python API for access to strato DNS. This allows for automatic certificate generation/renewals with wildcard support on domains hosted at Strato.

Source: https://github.com/Slinred/strato-acme

Requirements

  1. You need to create directory config and place a file called strato-acme-config.json inside which is filled with your strato API config (see above)
    This config folder should be mapped into the container under /strato-acme/config and will also then contain the acme.sh settings
  2. You need to create a directory or a docker volume which should be mounted under /strato-acme/certs to be able to persist and share certificates with other containers (e.g. traefik)
  3. If you also want to persist logs, mount a folder under /strato-acme/logs

For a reference, see docker-compose.yml

Create certificates

When the container is running in the background (e.g. via docker compose up -d ...) use the following command to trigger certificate generation:

docker exec strato_acme create-new-wildcard-cert.sh <YOUR_DOMAIN> <YOUR_EMAIL>

This will then try to generate a wildcard certificate for <YOUR_DOMAIN> and *.<YOUR_DOMAIN>. If generation was successfull, there will also be a cron job created to automatically renew the certificate before expiration (see official acme.sh docs).

Tag summary

Content type

Image

Digest

sha256:3afb4c46c

Size

82.5 MB

Last updated

about 1 month ago

docker pull slinred/strato-acme