GithubHelp home page GithubHelp logo

[HTTP server] Add TLS support about rymfony HOT 8 CLOSED

orbitale avatar orbitale commented on August 25, 2024 1
[HTTP server] Add TLS support

from rymfony.

Comments (8)

kevinpapst avatar kevinpapst commented on August 25, 2024 1

Yes please, for me this would be a critical feature that I am currently missing

from rymfony.

Pierstoval avatar Pierstoval commented on August 25, 2024

It seems that "Hyper with TLS" is a bit complex.

I decided to try to refactor the proxy server by using Warp. It uses Hyper internally, so maybe I can reuse the existing code.

I started the work on #37, let's see if it works 😉

from rymfony.

kevinpapst avatar kevinpapst commented on August 25, 2024

Cool, sent me a ping if you want me to test something.

from rymfony.

Pierstoval avatar Pierstoval commented on August 25, 2024

Very basic TLS support has been added, complementary to an entire refactor of the HTTP stack with Warp instead of Hyper

🥳

from rymfony.

kevinpapst avatar kevinpapst commented on August 25, 2024

Wow, awesome work! There is nothing new in the README, is it transparent usage like in:

  • a certificate is generated automatically if not existing yet
  • http and https are both answered
    ?

from rymfony.

Pierstoval avatar Pierstoval commented on August 25, 2024

For now, certificate is generated automatically and stored in $HOME/.rymfony/, and it doesn't answer HTTP-only, I've got more work to do on this, I just finished the first part but I don't have time to finish 😄

It's in the pipeline though 😉

I'd also like to add options to disable HTTPS if necessary, and add commands to create certificates for custom local domains other than 127.0.0.1 , but I have no idea on the ETA for all of this work 😉

from rymfony.

kevinpapst avatar kevinpapst commented on August 25, 2024

it doesn't answer HTTP-only

Means: https only currently? Or do you mean both are always active right now? Sounds totally legit to me.

add options to disable HTTPS if necessary

Do you have a use-case? Otherwise wait for a feature request 😁

add commands to create certificates for custom local domains

Why not KISS and write sample docs for Linux how to generate and use the new certificate?

from rymfony.

Pierstoval avatar Pierstoval commented on August 25, 2024

Means: https only currently? Or do you mean both are always active right now? Sounds totally legit to me.

For now, only HTTPS.
HTTP isn't taken in account.
I need to add another config option for this, but I guess it's going to be not extra complexity (like the explanation here on SO).

Do you have a use-case? Otherwise wait for a feature request 😁

Yep, mimic Symfony CLI as much as possible 😉

Why not KISS and write sample docs for Linux how to generate and use the new certificate?

Rymfony would still have to use them, and I guess that's what the --p12 option is for in Symfony CLI, but I gotta check 😉

from rymfony.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.