asmttpd icon indicating copy to clipboard operation
asmttpd copied to clipboard

Support https?

Open JoshuaBehrens opened this issue 6 years ago • 4 comments

Are there any plans on supporting secure connections? They are already possible by proxying through nginx to add a certificate for https. But when I have nginx running I don't need asmttpd to serve static content.

JoshuaBehrens avatar Nov 17 '19 00:11 JoshuaBehrens

Since it doesn't use any libraries, it would have to be implemented using only Linux kernel syscalls. From what I remember, there are some crypto methods available, but I haven't looked into it too much. It sounds like it would be a ton of code and work though, so nothing is planned at the moment.

nemasu avatar Nov 17 '19 00:11 nemasu

Thanks for the quick answer. I don't know how rwasa implements it by heart and I understand that is difficult to handle it by only syscalls. I am up to see that feature here.

JoshuaBehrens avatar Nov 17 '19 00:11 JoshuaBehrens

Looks like TLS is in the kernel. But it seems it's only for client side connections.

nemasu avatar Dec 10 '19 04:12 nemasu

Aw snap

JoshuaBehrens avatar Dec 10 '19 10:12 JoshuaBehrens