taskserver icon indicating copy to clipboard operation
taskserver copied to clipboard

SNI support

Open langdon opened this issue 3 years ago • 2 comments

I was just wondering if TLS SNI "should" work. I don't know a great way to test this (without a lot of work) and I couldn't find anything about it in the documentation.

Why do I ask? Because I would like to run taskd / taskserver in kubernetes / openshift but I don't want to deal with non-http port routing. Basically, kubernetes doesn't have great support for non-http traffic. However, it does support SNI routing so doing something like TLS/SNI on 443 to a task server should work but, I would prefer to limit my unknowns and make sure taskserver will work with SNI before introducing all the other variables :).

Related, as the world goes toward http as the "only" protocol, has anyone considered moving taskserver to a REST interface making ^^ basically not an issue?

I didn't see a better place in the "contributing" section to ask this question aside from an "issue" so apologies if this belongs somewhere else.

langdon avatar Jul 07 '21 18:07 langdon

This sounds like the wrong approach. Work with "normal" tcp forwarding and swap out the networking components in k8s if they limit you here. As for SNI support, I think gnutls should do that for us already.

jrabbit avatar Jul 07 '21 18:07 jrabbit

right.. the "right way" is as you describe.. but it is also a much less vanilla install which is much more prone to error. I am looking for a "in my basement" setup, not "high quality production". :)

re gnutls: that was my hope so ill pursue on the assumption that taskserver should be ok already

langdon avatar Jul 07 '21 19:07 langdon