Can you post doveconf -n output?

   Aki

     On 20/11/2025 18:37 EET Marek Gresko via dovecot
     <[1][email protected]> wrote:


     I run ls -lu on the key file. It's access time is not updated. It seems
     dovecot does not even read it. What is the correct syntax?

     Should it be in the ssl_server section? Should it be
     ssl_server_cert_file or cert file parameter? Or even another?

     Marek




     Odoslane pomocou bezpecneho emailu Proton Mail.

     stvrtok 20. novembra 2025, 17:26, Marek Gresko via dovecot
     <[2][email protected]> napisal/a:


       Both these command return same result as the previous I posted.

       Odoslane pomocou bezpecneho emailu Proton Mail.

       stvrtok 20. novembra 2025, 17:07, Aki Tuomi
       [3][email protected] napisal/a:


         either do

         openssl s_client -connect host:993

         or

         openssl s_client -connect host:143 -starttls imap

         Aki


           On 20/11/2025 17:49 EET Marek Gresko via dovecot
           [4][email protected] wrote:

           When trying openssl s_client to port 143, I get:

           no peer certificate available
           --
           No client certificate CA names sent
           Negotiated TLS1.3 group: <NULL>
           ---
           SSL handshake has read 5 bytes and written 1556 bytes
           Verification: OK
           ---
           New, (NONE), Cipher is (NONE)
           Protocol: TLSv1.3
           This TLS version forbids renegotiation.
           Compression: NONE
           Expansion: NONE
           No ALPN negotiated
           Early data was not sent
           Verify return code: 0 (ok)

           Why there is no certificate present? Because dovecot refuse to
           present it since it thinks it is weak?

           Marek

           Odoslane pomocou bezpecneho emailu Proton Mail.

           stvrtok 20. novembra 2025, 16:45, Marek Gresko
           [5][email protected] napisal/a:


             Hello,

             I added ca_file to the server section. I do not want clients to
             present certificates, so I did not create the ssl client section
             you proposed.

             Any other suggestion?

             I still cannot imagine what could be the cause.

             Thanks

             Marek

             Odoslane pomocou bezpecneho emailu Proton Mail.

             stvrtok 20. novembra 2025, 16:13, pgnd [6][email protected]
             napisal/a:


                 after upgrading from Fedora 42 to Fedora 43 the dovecot got
                 upgraded to version 2.4.

               imo, a sloppy choice on their part, forcing the need to
               significantly change imap config at the same time as an OS
               upgrade, and 'breaking imap' for lots of folks.


                 Should the authority certificate be configured somewhere in
                 dovecot?

               start with a thorough read of

               [7]https://doc.dovecot.org/2.4.2/core/config/ssl.html

               if using self-signed certs, you'll end up with something
               similar to

               ssl = required
               ...
               ssl_server {
               ca_file = /path/to/your_CA.crt.pem
               cert_file = /path/to/your_domain.server.ec.crt.pem
               key_file = /path/to/your_domain.server.ec.key.pem
               ...
               }
               ssl_client {
               ca_file = /path/to/your_CA.crt.pem
               cert_file = /path/to/your_domain.client.ec.crt.pem
               key_file = /path/to/your_domain.client.ec.key.pem
               ...
               }

           _______________________________________________
           dovecot mailing list -- [8][email protected]
           To unsubscribe send an email to [9][email protected] Both
           these command return same result as the previous I posted.

       Odoslane pomocou bezpecneho emailu [1]Proton Mail.
       stvrtok 20. novembra 2025, 17:07, Aki Tuomi
       [10][email protected]

       napisal/a:

       either do

       openssl s_client -connect host:993

       or

       openssl s_client -connect host:143 -starttls imap

       Aki

       On 20/11/2025 17:49 EET Marek Gresko via dovecot
       <[2][11][email protected]> wrote:



       When trying openssl s_client to port 143, I get:

       no peer certificate available
       --
       No client certificate CA names sent
       Negotiated TLS1.3 group: <NULL>

       ---
       SSL handshake has read 5 bytes and written 1556 bytes
       Verification: OK
       ---
       New, (NONE), Cipher is (NONE)
       Protocol: TLSv1.3
       This TLS version forbids renegotiation.
       Compression: NONE
       Expansion: NONE
       No ALPN negotiated
       Early data was not sent
       Verify return code: 0 (ok)

       Why there is no certificate present? Because dovecot refuse to present
       it since it thinks it is weak?

       Marek





       Odoslane pomocou bezpecneho emailu Proton Mail.

       stvrtok 20. novembra 2025, 16:45, Marek Gresko
       <[3][12][email protected]> napisal/a:



       Hello,

       I added ca_file to the server section. I do not want clients to
       present certificates, so I did not create the ssl client section you
       proposed.

       Any other suggestion?

       I still cannot imagine what could be the cause.

       Thanks

       Marek




       Odoslane pomocou bezpecneho emailu Proton Mail.


       stvrtok 20. novembra 2025, 16:13, pgnd [4][13][email protected]
       napisal/a:


       after upgrading from Fedora 42 to Fedora 43 the dovecot got
       upgraded to version 2.4.

       imo, a sloppy choice on their part, forcing the need to
       significantly change imap config at the same time as an OS
       upgrade, and 'breaking imap' for lots of folks.


       Should the authority certificate be configured somewhere in
       dovecot?

       start with a thorough read of

       [5][14]https://doc.dovecot.org/2.4.2/core/config/ssl.html

       if using self-signed certs, you'll end up with something similar
       to

       ssl = required
       ...
       ssl_server {
       ca_file = /path/to/your_CA.crt.pem
       cert_file = /path/to/your_domain.server.ec.crt.pem
       key_file = /path/to/your_domain.server.ec.key.pem
       ...
       }
       ssl_client {
       ca_file = /path/to/your_CA.crt.pem
       cert_file = /path/to/your_domain.client.ec.crt.pem
       key_file = /path/to/your_domain.client.ec.key.pem
       ...
       }

       _______________________________________________
       dovecot mailing list -- [6][15][email protected]
       To unsubscribe send an email to [7][16][email protected]

       References

       Visible links
       1. [17]https://proton.me/mail/home
       2. mailto:[18][email protected]
       3. mailto:[19][email protected]
       4. mailto:[20][email protected]
       5. [21]https://doc.dovecot.org/2.4.2/core/config/ssl.html
       6. mailto:[22][email protected]
       7. mailto:[23][email protected]
       _______________________________________________
       dovecot mailing list -- [24][email protected]
       To unsubscribe send an email to [25][email protected]

     _______________________________________________
     dovecot mailing list -- [26][email protected]
     To unsubscribe send an email to [27][email protected]

References

   Visible links
   1. mailto:[email protected]
   2. mailto:[email protected]
   3. mailto:[email protected]
   4. mailto:[email protected]
   5. mailto:[email protected]
   6. mailto:[email protected]
   7. https://doc.dovecot.org/2.4.2/core/config/ssl.html
   8. mailto:[email protected]
   9. mailto:[email protected]
  10. mailto:[email protected]
  11. mailto:[email protected]
  12. mailto:[email protected]
  13. mailto:[email protected]
  14. https://doc.dovecot.org/2.4.2/core/config/ssl.html
  15. mailto:[email protected]
  16. mailto:[email protected]
  17. https://proton.me/mail/home
  18. mailto:[email protected]
  19. mailto:[email protected]
  20. mailto:[email protected]
  21. https://doc.dovecot.org/2.4.2/core/config/ssl.html
  22. mailto:[email protected]
  23. mailto:[email protected]
  24. mailto:[email protected]
  25. mailto:[email protected]
  26. mailto:[email protected]
  27. mailto:[email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to