Welcome to the Linux Foundation Forum!

9.3

Options

Hi guys,

I'm new to Linux but I think this Lab is wrongly written. There are some inconsistencies that I'm seeing on the terminal:

It says to edit ssl_cert = </etc/dovecot/dovecot.pem , but there isn't any file with that path. It's /etc/dovecot/private/dovecot.pem

And ssl_key = </etc/dovecot/private/dovecot.pem from the Lab, it's actually /etc/dovecot/private/dovecot.key.

When using the paths from the Lab with systemctl restart dovecot, it fails with an error that the files don't exist, and when I make the change to my versions, it restarts without issues.

Also, creating a self-certificate with ./mkcert.sh fails since it tries to create it on /etc/dovecot/ssl/ but there isn't such directory, and manually creating the dir, makes the certification creation failed on Can't open /etc/dovecot/ssl/dovecot.key for writing, Permission denied...but /etc/dovecot/ssl/ is empty.

Answers

Categories

Upcoming Training