Hi Raul, On all systems keystore is needed normally on the server side and truststore on client side. As a result it's highly advised to use different config files in these places.
It's easy to see why it would be a security leak when keystore would be available in client side (client can fake a server to do nasty things) :) BR, G On Fri, Nov 26, 2021 at 5:41 AM Guowei Ma <[email protected]> wrote: > Hi Rahul > > From your description I guess maybe you could try different flink.yaml(one > for server and another for client). > I am not an expert about SSL and security stuff. So please correct me if > I am wrong. > > Best, > Guowei > > > On Wed, Nov 24, 2021 at 3:54 AM Rahul <[email protected]> wrote: > >> Hello, >> I am trying to set up ssl mutual authentication for the external rest >> endpoints, following this doc >> <https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/deployment/security/security-ssl/#keystores-and-truststores>. >> But it looks like currently flink expects the same exact path for >> keystore/truststore to be present on both client and server sides. >> Unfortunately with the current production setup we have, we cannot have the >> key/trustore under the same path on both client and the server. >> Can anyone recommend a way around this? >> Ideally it would have been nice to have something like security.ssl.rest. >> *server*.keystore and security.ssl.rest.*client*.keystore, but any >> pointers here is appreciated. >> >> Thanks, >> Rahul >> >
