Giter Club home page Giter Club logo

lets-encrypt-warp's Introduction

Let's encrypt warp

This rust crate makes TLS encryption with warp very easy. You just specify your domain name, and it works, provided your program has permissions to serve on ports 80 and 443.

lets-encrypt-warp's People

Contributors

droundy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lets-encrypt-warp's Issues

Example of usage?

Hi, this looks super interesting, I'm wondering where in a warp filter chain or routes specification I would call this though, do you have a simple example of using this?

Dual Stack IPv6/IPv4 support

Perhaps bind to SocketAddr::from_str("[::]:80").unwrap() and SocketAddr::from_str("[::]:443").unwrap() instead of 0.0.0.0 ? That way it listens to both IPv4 and IPv6. Or better, allow this to be specified, since listening to the v6 address isn't necessarily dual-stack on not-Linux (in that case, have to bind to both separately).

.bind_with_graceful_shutdown(([0, 0, 0, 0], 443), async { rx.await.ok(); })

.bind_with_graceful_shutdown(([0, 0, 0, 0], 80), async { rx80.await.ok(); })

License?

Thanks for this great library, I was unaware that TLS can be this easy. What kind of license do you have for it?

Change acme-lib to rustls-acme

This crate depends on acme_lib, which on turn depends on openssl.

But warp does not use openssl - it uses rustls. So an app built with lets-encrypt-warp currently ends up depending on two completely different TLS implementations.

Therefore, it would make more sense if this crate used rustls-acme instead.

Use warp 0.3

This crate currently uses warp 0.2, but I am using 0.3. I am getting version conflicts.

    |
216 | /     impl<FN, F> FilterBase for WithLog<FN, F>
217 | |     where
218 | |         FN: Fn(Info) + Clone + Send,
219 | |         F: Filter + Clone + Send,
...   |
234 | |         }
235 | |     }
    | |_____^
= note: perhaps two different versions of crate `warp` are being used?

I will open a PR.

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.