> cat "$PRIV" "$PUB" "$INT" > "$COURIER_COMBINED"
The order is - private key (not encrypted) - public key (the certificate) - intermediate certificate(s) Idézem/Quoting John Covici <cov...@ccs.covici.com>: > Thanks for your quick response, so I generated the dhparams, now how > come it says the no start line when I do have such a file and the > start line seems correct? > > Thanks. > > On Wed, 19 Oct 2016 09:44:20 -0400, > SZÉPE Viktor wrote: >> >> 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 >> > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > cov...@ccs.covici.com 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