Re: [statefun] client cert auth in remote function

2022-01-25 Thread Igal Shilman
Hi Fil, If I understand correctly, you are looking for TLS client authentication, i.e. the remote function needs to authenticate the request that is coming from the StateFun runtime. This is indeed not yet supported as it wasn't required by the community. I'd be happy to create an issue and assign

Re: [statefun] client cert auth in remote function

2022-01-24 Thread Filip Karnicki
Cool, thanks! I'll speak to the shared cluster support team to see if they can install our CA cert on every box. So we've got that side of authentication sorted - flink can trust that the service is who it says it is. How about the other way around? Any thoughts on how I could provide a *key*store

Re: [statefun] client cert auth in remote function

2022-01-24 Thread Igal Shilman
Hello Filip, As far as I know SslContextBuilder.forClient() should use the default trust store, so if you will install your self signed certificate in the community supported container image this should be picked up[1]. The following user has reported something similar, and it seems that they've g

[statefun] client cert auth in remote function

2022-01-24 Thread Filip Karnicki
Hi All! I was wondering if there's a way to secure a remote function by requiring the client (flink) to use a client cert. Preferably a base64 encoded string from the env properties, but that might be asking for a lot :) I had a look at the code, and NettySharedResources seems to use SslContextBu