Skip to content

Simpler run configurations without config file + tls instructionsย #32

@colemickens

Description

@colemickens

binserve seems really great but I really wish it were a bit easier to use:

  1. It would be really great to be able to just do binserver --auto-self-signed-tls --dir ./www and have it generate a self-signed key/cert and serve from the directory.
  2. I have no idea how to generate certs/keys for this. I have my openssl one-liner and if I try to use that I get:
[cole@slynux:~/code/webrtcsink]$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365                                                                        
redacted....


[cole@slynux:~/code/webrtcsink]$ binserve
[INFO] Build finished in 485 ฮผs โšก
[INFO] Enabled TLS (HTTPS) ๐Ÿ”’
[SUCCESS] Your server is up and running at 0.0.0.0:8001 ๐Ÿš€
[ERROR] Could not locate PKCS 8 private keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions