Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-based system for client certificates #1369

Open
slingamn opened this issue Nov 1, 2020 · 3 comments
Open

CA-based system for client certificates #1369

slingamn opened this issue Nov 1, 2020 · 3 comments

Comments

@slingamn
Copy link
Member

slingamn commented Nov 1, 2020

This was #414 and we already declared victory on this. But this still interests me as the best option for enterprise hardening of Oragono: with native support for this, we could immediately reject any connection that doesn't have a valid certificate. (In a hypothetical enterprise setting, rapidly expiring certificates would then be distributed by a management agent.)

@Amiga60077
Copy link

Amiga60077 commented Nov 4, 2020

I have noticed a problem with regards to Oragono using Self-Signed/Created SSL Certs and using mIRC 7.61
(NOTE: Removed IP/Hostnames)

For example when I connect I get this all the time:
[16:32:37] * Connecting to (+6697)
[16:32:37] * Using STS secure port +6697
[16:32:38] * Unable to connect to server (SSL certificate verify failed) <<--- This happens until I delete "servers.ini"

Until I delete this file:

  • Removed 'C:\MyStuff\my_mirc\servers.ini'

Now I can connect perfectly fine:

[16:32:46] * Connecting to (+6697)
[snip]
[16:32:47] You are now logged in as Amiga600
[16:32:47] Authentication successful
[16:32:47] *** Looking up your hostname...

NOTE: This does not happen on any other IRCdeamon (unreal, etc) only Oragono rejects the SSL Cert until I remove "servers.ini" which then fixes this problem

I can only assume either Oragono is sending the wrong SSL Cert Hash to mIRC and mIRC is storing it, and as it does not match the Oragono Certificate it is failing on a new connection (unless the "servers.ini" is deleted, which then allows connection)

@DanielOaks
Copy link
Member

Hey @Amiga60077! This issue's about client authentication certificates, rather than the TLS certificate that the server advertises.

The issue you're having is just that your IRC client won't connect to a network that's advertising a self-signed certificate. To change mIRC to allow this, you need to go to the settings menu, then Connect -> Options -> SSL -> and then change Server Certificates to Display for approval, like here:
image

This isn't really an issue of Oragono, it's just that by default newer versions of mIRC don't support self-signed TLS certs (not sure whether older versions did). But since this issue's about client authentication certificates anyway this isn't the right issue for this kinda issue regardless ehe~

@Amiga60077
Copy link

Ok thanks for that - I just thought as it only affected my Oragono server, that it was an issue related to that, my apologies

@slingamn slingamn added this to the v2.5 milestone Nov 10, 2020
@slingamn slingamn modified the milestones: v2.5, v2.6 Dec 10, 2020
@slingamn slingamn modified the milestones: v2.6, v2.7 Apr 7, 2021
@slingamn slingamn modified the milestones: v2.7, v2.8 May 30, 2021
@slingamn slingamn modified the milestones: v2.8, v2.9 Aug 26, 2021
@slingamn slingamn modified the milestones: v2.9, v2.10 Jan 2, 2022
@slingamn slingamn modified the milestones: v2.10, v2.11 Apr 26, 2022
@slingamn slingamn modified the milestones: v2.11, selected Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants