Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Temujin
Newbie
Newbie
Posts: 15
Joined: September 4th, 2017, 1:43 pm

Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by Temujin »

Failed to connect: Server news.newshosting.com uses an untrusted certificate [Certificate not valid. This is most probably a server issue.] - Wiki: https://sabnzbd.org/certificate-errors [email protected]:563 (news.iad.newshosting.com)

Prevents downloads.

I accessed the site to Check SSL of Newsserver news.newshosting.com and they passed.

Newshosting's site has a link with steps to check some stuff, but i don't show the same items they list to check
https://support.newshosting.com/kb/arti ... on-failed/
Windows users may be able to resolve the issue by following these steps:

Open Run and type mmc.exe
Select <File>, <Add/Remove Snap-In>
Choose <Certificates>
Select <My User Account>, and click<OK>
Expand <Certificates - Current User>
Expand <Intermediate Certificate Authorities>, and Click <Certificates>
Find and delete the expired DST Root CA X3 and/or Let's Encrypt R3 certificates. <-- not on my PC
SABnzbd version: 4.4.0
Windows 11
No crazy VPN or firewalls running
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Failed to connect - untrusted certificate

Post by safihre »

What virusscanner do you use?
See https://github.com/sabnzbd/sabnzbd/issues/2993
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Temujin
Newbie
Newbie
Posts: 15
Joined: September 4th, 2017, 1:43 pm

Re: Failed to connect - untrusted certificate

Post by Temujin »

Using Avast. I disabled cert verification for now, I'm not going turn off HTTPS scanning in Avast for the whole PC, that seems extreme.
Hope a better solution is found eventually.
Thanks for the links and quick reply, I'm able to download again.
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Failed to connect - untrusted certificate

Post by safihre »

If you disable certificate validation, your SSL becomes basically useless and anyone could perform a man-in-the-middle attack.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate

Post by sander »

safihre wrote: December 13th, 2024, 6:35 am If you disable certificate validation, your SSL becomes basically useless and anyone could perform a man-in-the-middle attack.
The OP already has a man-in-the-middle attack going on. It's called his virusscanner. ;)

With his/her "I disabled cert verification for now", any (other) MitM can now happen.
blackbat
Newbie
Newbie
Posts: 2
Joined: December 13th, 2024, 11:21 am

Re: Failed to connect - untrusted certificate

Post by blackbat »

Hmm - I also started getting the exact same issue yesterday, but with a different news host. I haven't been able to resolve it yet and also don't have the certificates which it is suggested may have expired. Also using Avast.
OJBakker
Newbie
Newbie
Posts: 2
Joined: December 13th, 2024, 5:21 am

Re: Failed to connect - untrusted certificate

Post by OJBakker »

It is a problem of the latest sabnzbd version 4.4.0
I had the same problem, started early this morning after updating sabnzbd yesterday evening.
When sabnzbd failed I have tried another program using the same server and this worked without errors, so it is not a server problem.
I have reinstalled version 4.3.3 and the certificate problem is gone.

My system is Windows 10 x64, sabnzbd installed with the installer for windows.
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft-virusscanner and SABnzbd 4.4.0

Post by sander »

Guys, before inventing the wheel again ... please join this thread: https://github.com/sabnzbd/sabnzbd/issu ... 2541553589

EDIT: create a github account to join, to retrieve the binary, and to share your feedback

Use the Sabnzbd Windows binary provided there, and provide feedback there.

Your help is needed!
blackbat
Newbie
Newbie
Posts: 2
Joined: December 13th, 2024, 11:21 am

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft-virusscanner and SABnzbd 4.4.0

Post by blackbat »

sander wrote: December 13th, 2024, 11:49 am
Use the Sabnzbd Windows binary provided there, and provide feedback there.

Your help is needed!
I don't see any binary to test?
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by sander »

You need a github account for that. So if you can create that, then we can get your experience and solve it.
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by sander »

OK, guys: summary from the github progress: test work to do for you:

With the plain SABnzbd 4.4.0:

Go to server settings http://127.0.0.1:8080/config/server/
In the upper right corner: turn Advanced Settings on
Then, at server Show Details: change Port from 563 to 443.
Click Test Server ... does it work, and without errors? Good! Click Save Changes.

And please report back the result:
- which newsserver
- which virusscanner
- does this workaround work for you?

For example
- news.newshosting.com
- AVG Free
- Yes, works with port 443 set
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by sander »

... or just use the binary just released: https://github.com/sabnzbd/sabnzbd/issu ... 2543341811 ... github account needed.
Temujin
Newbie
Newbie
Posts: 15
Joined: September 4th, 2017, 1:43 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by Temujin »

Switching ports from 563 to 443 has worked for me.

Sabnzb: 4.4.0
Newshost: newshosting
AV: Avast
hdhock3y
Newbie
Newbie
Posts: 1
Joined: January 3rd, 2025, 12:09 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by hdhock3y »

I am also receiving the error, workaround seems to have fixed it.

AV: AVG Free
Sabnzb: 4.4.1

news.newsgroupdirect switched from 563 to 80 - Fixed it
super.newsgroupdirect switched from 563 to 443 - Fixed it
reader.usenight switched from 563 to 443 - Fixed it
news.vipernews switched from 563 to 443 - Fixed it
User avatar
sander
Release Testers
Release Testers
Posts: 9257
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect - untrusted certificate - Windows with non-Microsoft virusscaner and SABnzbd 4.4.0

Post by sander »

hdhock3y wrote: January 3rd, 2025, 12:19 pm I am also receiving the error, workaround seems to have fixed it.

AV: AVG Free
Sabnzb: 4.4.1

news.newsgroupdirect switched from 563 to 80 - Fixed it
super.newsgroupdirect switched from 563 to 443 - Fixed it
reader.usenight switched from 563 to 443 - Fixed it
news.vipernews switched from 563 to 443 - Fixed it
Good to hear. I myself prefer your method: change port to 443 (=standard HTTPS).

But I inform you and others about the other method: as of SABnzbd 4.4.1, per defined news server, with advanced options checked on, at "Certificate verification" you can select "Medium" and then keep using port 563.

From the SABnzbd's Server page https://127.0.0.1:8080/config/server/ :

Certificate verification

When SSL is enabled:
- Strict: enforce full certificate verification. This is the most secure setting.
- Medium: verify that the certificate is valid and matches the server address, but allow certificates locally injected (for example by firewall or virus scanner).
- Minimal: verify that the certificate is valid. This is not secure, any valid certificate could be used.
- Disabled: no certification verification. This is not secure at all, anyone could intercept your connection.
Post Reply