Idézem/Quoting John Covici <cov...@ccs.covici.com>:

> Hi.  I have been using your imap daemon for some time and it seems to
> be working, but recently I changed the port to 993 and am using an
> encrypted connections.  I am getting some unusual messages however
> from my logs -- here is what I am getting:
>       couriertls: /usr/share/dhparams.pem: error:02001002:system  
> library:fopen:No such file or directory - 13 Times
>
>
> Is there supposed to be such a file and if so, what are its contents?
>
> Also, I am getting the following
>       couriertls: /etc/courier-imap/imapd.pem: error:0906D06C:PEM  
> routines:PEM_read_bio:no start line - 13 Times
>
> The start line looks fine to me and is:
> -----BEGIN CERTIFICATE-----
>
> I have the private key first and then the certificate which I actually
> purchased from one of the cheaper authorities.
>
> Thanks in advance for any suggestions.


Dear John!

>       couriertls: /usr/share/dhparams.pem: error:02001002:system

Those are the (missing) Diffie–Hellman parameters for SSL.
See TLS_DHPARAMS in your config files. (modern Courier only)

I usually issue
DH_BITS=2048 nice /usr/sbin/mkdhparams
to regenerate it.

See this script
https://github.com/szepeviktor/debian-server-tools/blob/master/mail/courier-dhparams.sh


>       couriertls: /etc/courier-imap/imapd.pem: error:0906D06C:PEM

This is the missing certificate file.
See TLS_CERTFILE in your imapd-ssl configuration file.

All the best!


SZÉPE Viktor
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, III. kerület





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to