-
I am exploring the framework and it looks pretty nice. I had a question about the network stack. I want to use mutual TLS for all communication between different nodes. I cant seem to figure out how that would be injected in this case. Any pointers? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 7 replies
-
Hello @samirkut, I have not added any implementation or extension for TLS. I have been thinking about it, but I have not received any feature requests. Now, I think I have a valid use case for it. |
Beta Was this translation helpful? Give feedback.
-
@samirkut I have started some work here. I hope to wrap it up before the week ends and QA it properly before releasing a new release. |
Beta Was this translation helpful? Give feedback.
-
@samirkut Even though I have started some work on the TLS support. I will need some time to read a bit around its performance. There are only two places where TLS may be needed:
|
Beta Was this translation helpful? Give feedback.
-
@samirkut I think I have a better to add the TLS. My only concern is the handshake part which will double the TCP connection time. That can be a performance hinderance. In any way I will document it once I wrap up the implementation. |
Beta Was this translation helpful? Give feedback.
-
@samirkut I have the PR ready #504. I will run some QA before merging it. However if you like to have it a go that will also be great. Thanks |
Beta Was this translation helpful? Give feedback.
-
One a second thought I think you can establish secure connection with the following:
Making using of TLS is great but I don't think it is necessary for the framework to support it looking at the various alternatives out there. However if there is anything that can help in the framework to support the alternatives, I am open to a suggestion. |
Beta Was this translation helpful? Give feedback.
-
@samirkut The elephant in the room with this implementation is that the underlying cluster engine library I am using does not support TLS from the first reading I did in the code base. So I will have to cater of that before we can really have a fully fledged mTLS in the whole system. This is the cluster engine I am using https://github.com/buraksezer/olric. I can fork it and refactor it to the need of GoAkt to support mTLS. However this will take me some time and probably some sponsorship :) |
Beta Was this translation helpful? Give feedback.
-
At the moment this feature is not available and can be supported in the future. |
Beta Was this translation helpful? Give feedback.
-
@samirkut I have fully implemented the TLS support now. The same CA root is required for all nodes in the cluster for the TLS feature to work well. You can use the latest commit hash of https://github.com/Tochemey/goakt |
Beta Was this translation helpful? Give feedback.
At the moment this feature is not available and can be supported in the future.