Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-20 Thread Alessandro Vesely
On Wed 19/Jul/2017 22:22:13 +0200 Lucio Crusca wrote: > Il 19/07/2017 19:22, Alessandro Vesely ha scritto: >> Did you actually check it? I mean >> >> certtool -i --infile /etc/courier/esmtpd.pem >> >> or >> >> openssl x509 -text -in /etc/courier/esmtpd.pem > > Both tools read the file

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-20 Thread Markus Wanner
Hello Lucio, On 07/19/2017 11:26 AM, Lucio Crusca wrote: > So far I've enabled courier-mta and courier-msa systemd services, > changed the ports they listed on and created a real system account for > mail relay (authpam). I've also let > > TLS_VERIFYPEER=NONE Could it be an invalid peer

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Il 19/07/2017 19:22, Alessandro Vesely ha scritto: Did you actually check it? I mean certtool -i --infile /etc/courier/esmtpd.pem or openssl x509 -text -in /etc/courier/esmtpd.pem Both tools read the file without errors and display the certificate informations, the modulus, the

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Alessandro Vesely
On Wed 19/Jul/2017 14:28:23 +0200 Lucio Crusca wrote: > Il 19/07/2017 12:56, Sam Varshavchik ha scritto: >> Check the server's certificate, esmtpd.pem. That's the only certificate >> in play here. The file is probably corrupted. > > At first glance it seems ok, the structure is the same as

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Il 19/07/2017 17:06, Matus UHLAR - fantomas ha scritto: Il 19/07/2017 15:46, PICCORO McKAY Lenz ha scritto: you sould recreate and then test it! On 19.07.17 15:57, Lucio Crusca wrote: Forgot to mention, but I did remove the courier packages, the /etc/courier folder, the APT package cache and

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Matus UHLAR - fantomas
Il 19/07/2017 15:46, PICCORO McKAY Lenz ha scritto: you sould recreate and then test it! On 19.07.17 15:57, Lucio Crusca wrote: Forgot to mention, but I did remove the courier packages, the /etc/courier folder, the APT package cache and reinstalled. Did you remove or purge the packages? The

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Il 19/07/2017 16:00, PICCORO McKAY Lenz ha scritto: do you reported again debian bug tracker? using reporbug ? Well no, but before reporting I'd like to be sure it's not my fault. -- Check out the vibrant tech

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread PICCORO McKAY Lenz
do you reported again debian bug tracker? using reporbug ? (well today its not as was in the past but it must report too) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-07-19 9:57 GMT-04:00 Lucio Crusca : > > > Il 19/07/2017 15:46, PICCORO McKAY Lenz ha

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Il 19/07/2017 15:46, PICCORO McKAY Lenz ha scritto: you sould recreate and then test it! Forgot to mention, but I did remove the courier packages, the /etc/courier folder, the APT package cache and reinstalled. During reinstallation the system created the self signed certificate again,

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Il 19/07/2017 12:56, Sam Varshavchik ha scritto: Check the server's certificate, esmtpd.pem. That's the only certificate in play here. The file is probably corrupted. At first glance it seems ok, the structure is the same as another file in another Courier server I run that works correctly

Re: [courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Sam Varshavchik
Lucio Crusca writes: Hello, I've just installed a new Courier instance in a new Debian GNU/Linux 9 amd64 server from distro packages. This Courier should act as smart relay for another server and nothing else. So far I've enabled courier-mta and courier-msa systemd services, changed the

[courier-users] courieresmtpd: STARTTLS failed: Certificate is bad

2017-07-19 Thread Lucio Crusca
Hello, I've just installed a new Courier instance in a new Debian GNU/Linux 9 amd64 server from distro packages. This Courier should act as smart relay for another server and nothing else. So far I've enabled courier-mta and courier-msa systemd services, changed the ports they listed on and