Article View: alt.free.newsservers
Article #185404Re: Check certificate for news server (testing neodome)
From: Carlos E.R.
Date: Mon, 08 Jan 2024 19:23
Date: Mon, 08 Jan 2024 19:23
110 lines
6143 bytes
6143 bytes
On 2024-01-08 16:29, Ronald wrote: > On Mon, 8 Jan 2024 14:39:32 +0100, Marco Moock wrote: ... >>> The problem had nothing to do with dialog other than dialog gave >>> an error which simply said it failed but nothing more than that >>> really. >> >> Doesn't it give more details? > > I set Dialog to a full level-0 log (which is everything), and it still > didn't say anything other than the connection failed (socket 0). Because the failure is outside of Dialog. ... >> Claws provides the full network log with the NNTP messages. > > To get a clean log out of Stunnel, I killed and restarted it. > This shows it's ready to take connections. > 2024.01.07 02:18:11 LOG5[main]: stunnel 5.69 on x64-pc-mingw32-gnu platform > 2024.01.07 02:18:11 LOG5[main]: Compiled/running with OpenSSL 3.0.8 7 Feb 2023 > 2024.01.07 02:18:11 LOG5[main]: Threading:WIN32 Sockets:SELECT,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI > 2024.01.07 02:18:11 LOG5[main]: Reading configuration from file C:\Program Files\stunnel\config\stunnel.conf > 2024.01.07 02:18:11 LOG5[main]: UTF-8 byte order mark detected > 2024.01.07 02:18:11 LOG5[main]: FIPS mode disabled > 2024.01.07 02:18:32 LOG5[main]: Configuration successful > > This is what happens when I post to another server (not neodome). > 2024.01.07 02:34:17 LOG5[0]: Service [eternal] accepted connection from 127.0.0.1:55554 > 2024.01.07 02:34:20 LOG5[0]: s_connect: connected 135.181.20.170:563 > 2024.01.07 02:34:20 LOG5[0]: Service [eternal] connected remote server from 10.212.1.145:60382 > 2024.01.07 02:34:24 LOG5[0]: OCSP: Connecting the AIA responder "http://r3.o.lencr.org" > 2024.01.07 02:34:27 LOG5[0]: s_connect: connected 23.2.16.105:80 > 2024.01.07 02:34:30 LOG5[0]: OCSP: Certificate accepted > 2024.01.07 02:34:30 LOG5[0]: Certificate accepted at depth=0: CN=news.eternal-september.org > 2024.01.07 02:34:44 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:321: error:0A000126:SSL routines::unexpected eof while reading > 2024.01.07 02:34:44 LOG5[0]: Connection reset: 358 byte(s) sent to TLS, 388 byte(s) sent to socket > > This is what happens when I post to the neodome server. > 2024.01.07 02:18:55 LOG5[0]: Service [neodome] accepted connection from 127.0.0.1:55555 > 2024.01.07 02:19:00 LOG5[0]: s_connect: connected 95.216.243.224:563 > 2024.01.07 02:19:00 LOG5[0]: Service [neodome] connected remote server from 10.212.1.145:60371 > 2024.01.07 02:19:01 LOG4[0]: CERT: Pre-verification error: self-signed certificate > 2024.01.07 02:19:01 LOG4[0]: Rejected by CERT at depth=0: O=Neodome, CN=neodome.net, emailAddress=admin@neodome.net > 2024.01.07 02:19:01 LOG3[0]: SSL_connect: ssl/statem/statem_clnt.c:1889: error:0A000086:SSL routines::certificate verify failed > 2024.01.07 02:19:01 LOG5[0]: Connection closed/reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket stunnel is correctly identifying the problem. ... > The two errors (one in Dialog's log and the other in Stunnel's log) are: > > Dialog error: > 5 25675484: Socket Error # 0; (neodome Username ok) (Finished) [$0000250C] > 0 25675484: KillNNTP entered for: neodome Username ok1 (Finished) [$0000250C] > > Stunnel error: > 2024.01.07 02:19:01 LOG4[0]: CERT: Pre-verification error: self-signed certificate > 2024.01.07 02:19:01 LOG4[0]: Rejected by CERT at depth=0: O=Neodome, CN=neodome.net, emailAddress=admin@neodome.net > 2024.01.07 02:19:01 LOG3[0]: SSL_connect: ssl/statem/statem_clnt.c:1889: error:0A000086:SSL routines::certificate verify failed Yes. > > Anyway, the problem wasn't really any of that, in reality. > The problem was the server doesn't want its certificate checked. NO! The server people are doing things easy and cheap, for them, and causing problems for people. What they do is "wrong": A private certificate, and not renewed. This is done between private individuals, but is not fine when going public. Configuring your side to not verifying the certificate and ignoring it has expired is a hack. It is also a security risk (mild in this case). You decide to play along or choose a different server. > >>> Is is the best way to run a news server? >>> I don't know. Probably not. >> >> No, but other servers exist. Simply use them. > > I agree with your advice but you have to take into account that the > Neodome account was working fine for me, until it wasn't. > > So there's really nothing wrong with it even though it's using a > faulty certificate. I just had to learn how to deal with it. > > It's kind of like a car that you like and you're comfortable with, > but which has a balky clutch until it heats up a bit in use. > > Thanks for all your help and encouragement. -- Cheers, Carlos.
Technical Details
Message-ID:
<emut6kxllk.ln2@Telcontar.valinor>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<undqeu$tpek$1@paganini.bofh.team> <unevbk$6eke$2@solani.org> <ung57r$166to$1@paganini.bofh.team> <s2ss6kxr43.ln2@Telcontar.valinor> <ungg3j$5hkb$5@solani.org> <ungkpf$170ai$1@paganini.bofh.team> <ungl4l$5hkb$8@solani.org> <ungmvt$173od$1@paganini.bofh.team> <ungnhg$5hkb$10@solani.org> <ungpp1$17890$1@paganini.bofh.team> <ungtum$5hkb$12@solani.org> <unh4cq$17q0r$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <emut6kxllk.ln2@Telcontar.valinor> Subject: Re: Check certificate for news server (testing neodome) Date: Mon, 8 Jan 2024 20:23:26 +0100 From: "Carlos E.R." <robin_listas@es.invalid> References: <undqeu$tpek$1@paganini.bofh.team> <unevbk$6eke$2@solani.org> <ung57r$166to$1@paganini.bofh.team> <s2ss6kxr43.ln2@Telcontar.valinor> <ungg3j$5hkb$5@solani.org> <ungkpf$170ai$1@paganini.bofh.team> <ungl4l$5hkb$8@solani.org> <ungmvt$173od$1@paganini.bofh.team> <ungnhg$5hkb$10@solani.org> <ungpp1$17890$1@paganini.bofh.team> <ungtum$5hkb$12@solani.org> <unh4cq$17q0r$1@paganini.bofh.team> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.free.newsservers Lines: 111 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net YzLVDk9n43whC6W0/b+TqgpzHi3s7cztwfLxB1Fvl9FCLKCAsa X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:PJBWG18MijuhwqDeOGaqnPoAxZw= sha256:4oRmi6DXOFuP+bJddNk3VlVoUEn/fz4HqY+E5PZP0Bw= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <unh4cq$17q0r$1@paganini.bofh.team>