Page MenuHomeDevCentral

Propagate acme.sh certificate so Dovecot can read it
Open, HighPublic

Description

Dovecot didn't have the new certificate but was still serving an old one, now expired.

Check:
openssl s_client -connect mail.nasqueron.org:993 < /dev/null | openssl x509 -noout -subject -issuer -dates -serial

We solved that directly on the server doing those steps:

  • Dovecot configuration: update filename from privkey.pem to key.pem (Certbot -> acme.sh change)
  • Common group mail with 3 users: -> D3712 as candidate
    • postfix (already set up)
    • dovecot (to read key.pem)
    • acme (so they can set the file with the right group)
  • Permissions:
    • /var/certificates 700 -> 711 (D3712)
    • /var/certificates/mail.nasqueron.org group wheel -> mail, group chmod 700 -> 750 (D3712)
    • /var/certificates/mail.nasqueron.org/key.pem chmod 600 -> 640 (D3732)

Salt configuration need to be updated accordingly.

Event Timeline

dereckson triaged this task as High priority.Mon, Sep 22, 21:32
dereckson created this task.
dereckson moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Tue, Sep 23, 16:21
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)
dereckson moved this task from Backlog to Pending review on the security board.
dereckson updated the task description. (Show Details)