Skip to content

feat(serve): Add TLS options to deno serve CLI - #35508

Open
adamgreg wants to merge 1 commit into
denoland:mainfrom
adamgreg:serve-tls
Open

adamgreg wants to merge 1 commit into
denoland:mainfrom
adamgreg:serve-tls

Conversation

@adamgreg

Copy link
Copy Markdown
Contributor

This PR adds the options --tls-cert and --tls-key to the deno serve CLI subcommand. Both options are expected to refer to local paths to PEM-encoded TLS files. Both options must be provided for the argument parsing to succeed.

Resolves #25177.

No AI used to generate the PR.

@deno-cla-assistant

deno-cla-assistant Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deno Individual Contributor License Agreement

All contributors have signed the CLA. Thank you!

Re-run CLA check


This is an automated message from CLA Assistant

@adamgreg

Copy link
Copy Markdown
Contributor Author

Documentation PR: denoland/docs#3368

@adamgreg

Copy link
Copy Markdown
Contributor Author

I think the CI failure is unrelated

@adamgreg

Copy link
Copy Markdown
Contributor Author

Hi @bartlomieju I'm expecting to have to update this again once #35982 lands, but would you mind confirming whether the addition of these options is welcome, please?

@adamgreg

Copy link
Copy Markdown
Contributor Author

@bartlomieju I've confirmed this works ok after the cutover to the new cli_parser.

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.

Suggestion: Add TLS option to deno serve command

1 participant