Compare commits

..

No commits in common. "50dcc32f0122f1edb6476c4e161d1405529ec220" and "3456159f52b0ae14d4feeb1cb44c715b0b1d9bf8" have entirely different histories.

View file

@ -15,10 +15,11 @@ 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.example.com
sudo certbot certonly --manual --preferred-challenges dns -d mail.jonasjones.dev
```
Now, add a TXT DNS-Record to your domain as indicated by the instructions in the terminal, then hit enter.
Now, add a TXT DNS-Record as indicated by the instructions in the terminal, then hit enter.
This creates certificates typically in /etc/letsencrypt/live/mail.example.com/: