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

draft: generate certificate and serve over http and https #351

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JakeChampion
Copy link
Contributor

@JakeChampion JakeChampion commented Mar 18, 2024

pushing this up to see if there is interest in seeing this feature land and if this approach is along the right tracks

TODO:

  • Allow certificate to be provided via cli flag
  • Allow certificate to be provided via fastly.toml
  • Allow http and https port to be defiend via cli flag

@arayaryoma
Copy link

I have a high expectation of this!
We really need it to run our Compute services with secure context to debug cookie behavior(related: #50) and satisfy requirements of our internal backends.

@kpfleming
Copy link
Contributor

This seems really promising! In addition to the TODOs above, have you considered allowing the user to provide a list of SAN(s) to be included in the cert, so that they can test with their 'real' name for the service?

.await
.unwrap();

let addr = SocketAddr::new(IpAddr::V4(std::net::Ipv4Addr::new(127, 0, 0, 1)), 7879);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a benefit to this more-verbose construct, compared to the simpler one on line 78?

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.

3 participants