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

Add rudimentary HTTPS support #145

Merged
merged 10 commits into from
Jul 11, 2024
Merged

Add rudimentary HTTPS support #145

merged 10 commits into from
Jul 11, 2024

Conversation

Beyley
Copy link
Contributor

@Beyley Beyley commented Jul 8, 2024

Right now there's a lot of hard-coded options which need to be moved into the config, such as enabled SSL protocols and enabled cipher suites. However this should do everything we need for the meantime.

I've placed TODOs on the things which need to be made configurable.

Copy link
Member

@jvyden jvyden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github workflows will also need an update since we're introducing new packages

Bunkum.Protocols.Http/Socket/SocketHttpListener.cs Outdated Show resolved Hide resolved
Bunkum.Protocols.Http/Socket/SocketHttpListener.cs Outdated Show resolved Hide resolved
Bunkum.Protocols.Http/Socket/SocketHttpListener.cs Outdated Show resolved Hide resolved
Bunkum.Protocols.Http/Socket/SocketHttpListenerContext.cs Outdated Show resolved Hide resolved
Bunkum.Protocols.Https/SslConfiguration.cs Outdated Show resolved Hide resolved
@Beyley Beyley requested a review from jvyden July 11, 2024 21:19
Copy link
Member

@jvyden jvyden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing I would add to this is the ability for Bunkum to reload the SSL certificate without a restart, probably through a FS watch or something. This isn't strictly necessary so it can be addressed later.

But also GitHub workflows need to be updated to publish the new packages

@Beyley Beyley requested a review from jvyden July 11, 2024 23:34
@jvyden
Copy link
Member

jvyden commented Jul 11, 2024

seem leg

@jvyden jvyden merged commit fa6b594 into PlanetBunkum:main Jul 11, 2024
1 check passed
@Beyley Beyley deleted the https branch July 11, 2024 23:34
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