Compare commits

...

2 commits

Author SHA1 Message Date
50dcc32f01 fixed formatting
All checks were successful
build-docusaurus / build (push) Successful in 1m53s
2025-07-27 13:21:56 +02:00
87c3944b5e fixed domain in command 2025-07-27 13:20:09 +02:00

View file

@ -15,11 +15,10 @@ cd docker-mailserver
## Step 2: Create SSL Certificates
If your mail server domain is publicly accessible, use Certbot to obtain trusted SSL certificates for free.
### use Let's Encrypt
```bash
sudo certbot certonly --manual --preferred-challenges dns -d mail.jonasjones.dev
sudo certbot certonly --manual --preferred-challenges dns -d mail.example.com
```
Now, add a TXT DNS-Record as indicated by the instructions in the terminal, then hit enter.
Now, add a TXT DNS-Record to your domain as indicated by the instructions in the terminal, then hit enter.
This creates certificates typically in /etc/letsencrypt/live/mail.example.com/: