Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

roboticsalign/strato-certbot

 
 

Repository files navigation

strato-certbot

Wildcard certificates for strato.de

Setup

Create strato-auth.json:

{
  "username": "<username>",
  "password": "<password>"
}

Make sure to make this file only readable for root:

sudo chmod 0400 strato-auth.json

Two-Factor Authentification

To be able to authenticate two-factor, device name and TOTP secret must be entered into the JSON. If it is not used, it can either be empty strings or the entries can be removed completely (see above).

{
  "username": "<username>",
  "password": "<password>",
  "totp_secret": "<secret>",
  "totp_devicename": "<devicename>"
}

Get certificate

Run Certbot in manual mode:

sudo certbot certonly --manual --preferred-challenges dns --manual-auth-hook $(pwd)/auth-hook.py --manual-cleanup-hook $(pwd)/cleanup-hook.py -d example.com -d *.example.com

This will generate a wildcard certificate for your domain without the need to manually enter the TXT records.

About

Wildcard certificates for strato.de

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%