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

Feature/https server #319

Merged
merged 4 commits into from
May 31, 2024
Merged

Feature/https server #319

merged 4 commits into from
May 31, 2024

Conversation

ysugimoto
Copy link
Owner

@ysugimoto ysugimoto commented May 31, 2024

Fixes #317

This PR implements the simulator to serve with TLS.

Synopsis

Added --key and --cert arguments in simulator subcommand and then the user can provide both arguments to serve the simulator with TLS.

falco simulator /path/to/default.vcl --key /path/to/keyfile --cert /path/to/certfile

Of course, the debugger also can use HTTPS server:

falco simulator --debug /path/to/default.vcl --key /path/to/keyfile --cert /path/to/certfile

The server starts with https://localhost:3124.

CleanShot 2024-05-31 at 12 18 22@2x

@ysugimoto ysugimoto merged commit abd3325 into main May 31, 2024
4 checks passed
@ysugimoto ysugimoto deleted the feature/https-server branch May 31, 2024 08:15
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.

[Feature] (simulator) Enable to establish HTTP connection over TLS in falco simulator
1 participant