ttyd icon indicating copy to clipboard operation
ttyd copied to clipboard

server: automatically generate a self-signed certificate

Open lonnywong opened this issue 2 years ago • 2 comments
trafficstars

Automatically generate a self-signed certificate if ssl is enabled and no certificate and key files are specified.

lonnywong avatar Nov 19 '23 14:11 lonnywong

@tsl0922 Can you rerun the tests? All tests should succeed.

lonnywong avatar Nov 20 '23 16:11 lonnywong

Oh, thank you, just tested this PR successully 🎉 😍

morph027 avatar Dec 11 '23 14:12 morph027

Why? I think it is outside the scope of this project.

I would recommend using tools like mkcert or cfssl if you don't like openssl cli in SSL Usage.

tsl0922 avatar Mar 05 '24 13:03 tsl0922

Why? I think it is outside the scope of this project.

I would recommend using tools like mkcert or cfssl if you don't like openssl cli in SSL Usage.

It will be much more convenient when you need to use https temporarily, without having to read the manual of other tools.

lonnywong avatar Mar 05 '24 13:03 lonnywong

It introduces maintenance cost in this project, and I'm not a security expert on SSL, so it won't be merged here.

tsl0922 avatar Mar 05 '24 13:03 tsl0922