mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-22 10:39:18 +02:00
This commit is contained in:
parent
87c3944b5e
commit
50dcc32f01
1 changed files with 1 additions and 2 deletions
|
@ -15,11 +15,10 @@ cd docker-mailserver
|
||||||
|
|
||||||
## Step 2: Create SSL Certificates
|
## Step 2: Create SSL Certificates
|
||||||
If your mail server domain is publicly accessible, use Certbot to obtain trusted SSL certificates for free.
|
If your mail server domain is publicly accessible, use Certbot to obtain trusted SSL certificates for free.
|
||||||
### use Let's Encrypt
|
|
||||||
```bash
|
```bash
|
||||||
sudo certbot certonly --manual --preferred-challenges dns -d mail.example.com
|
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/:
|
This creates certificates typically in /etc/letsencrypt/live/mail.example.com/:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue