mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-24 11:39:17 +02:00
Compare commits
No commits in common. "50dcc32f0122f1edb6476c4e161d1405529ec220" and "3456159f52b0ae14d4feeb1cb44c715b0b1d9bf8" have entirely different histories.
50dcc32f01
...
3456159f52
1 changed files with 3 additions and 2 deletions
|
|
@ -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/:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue