mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-22 02:29:18 +02:00
Compare commits
2 commits
3456159f52
...
50dcc32f01
Author | SHA1 | Date | |
---|---|---|---|
50dcc32f01 | |||
87c3944b5e |
1 changed files with 2 additions and 3 deletions
|
@ -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/:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue