Skip to content

Conversation

@pannal
Copy link

@pannal pannal commented Nov 30, 2025

This uses Usenet.Custom from https://github.com/pannal/Usenet which adds:

  • Allow ignoring all RemoteCertificateNameMismatch by supplying the environment variable NZBDAV_NNTP_TLS_IGNORE_NAME_MISMATCH=true
  • Allow ignoring specific RemoteCertificateNameMismatch by supplying the environment variable NZBDAV_NNTP_TLS_IGNORE_HOSTS=host1[,;]host2[,;]..

I think this whole project should switch to https://github.com/Spottarr/Usenet, though!

@nzbdav-dev
Copy link
Owner

I recently published the following two nuget packages to replace the keimpema/Usenet library nzbdav's been using:

I still haven't integrated them onto nzbdav yet though.

@pannal
Copy link
Author

pannal commented Dec 1, 2025

OK, fair enough. Why aren't they open source, though? I'd like to take a look at the UsenetSharp library to check for the SSL handling.

@nzbdav-dev
Copy link
Owner

They're in a private repo, since I'm still making changes to the interface. But I'll make the repos public before integrating them onto nzbdav

@nzbdav-dev
Copy link
Owner

@pannal , I added you as a collaborator to https://github.com/nzbdav-dev/UsenetSharp if you want to start taking an early look.

Btw, what's your use-case for ignoring RemoteCertificateNameMismatch? What's the motivation behind it?

@pannal
Copy link
Author

pannal commented Dec 2, 2025

Btw, what's your use-case for ignoring RemoteCertificateNameMismatch? What's the motivation behind it?

I proxy nntp via Socat on a different machine. That invalidates that portion of the certificate chain, though. The chain is still valid and trusted from my point of view (as I control the entrypoint), but the domain/IP doesn't match the original provider's common name anymore.

@pannal
Copy link
Author

pannal commented Dec 11, 2025

Superseded by: nzbdav-dev/UsenetSharp#2

@pannal pannal closed this Dec 11, 2025
@pannal
Copy link
Author

pannal commented Jan 24, 2026

Hey, could you take a look at my (pretty small) pull request on UsenetSharp, please? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants