Skip to content

Conversation

tylerbevan
Copy link

@tylerbevan tylerbevan commented Jun 28, 2025

As a past user of woof I was excited to see a maintained version and figured I'd go ahead and add the feature I most wanted and saw was also on the wish list.

Uses the packed-in ssl library and adds four new cli options to control the tls configuration. I took a stab at what those cli options should look like, though I did go back and forth on what the usage page should look like with them. I'm open to feedback on those, as I'm not sure I particularly like what I settled on.

-t to enable TLS mode
--cert to specify the path to a signed certificate
--key to specify the path to the key file
--keypass to provide the decryption key for that key file should it be encrypted

In addition, I added values to the wurfrc spec to allow the user to pass some or all of these options that way.

Lastly, I included logic to change the default url protocol and port to https and 8443 when tls mode is requested via either the config file or the cli, unless a custom port is also provided.

I don't think I've added any new bugs, but I'm the only one who's tested it.

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.

1 participant