KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ How to check if incoming connection is TLS?

Tagged: , ,

  • How to check if incoming connection is TLS?

    Posted by user931206 on July 10, 2024 at 9:09 am

    I have a situation where I want users to connect using TLS, but I want my kdb procs to also permit plain connection so a “-E 1” is specified on the proc.

    The problem is, I want to enforce users to use TLS to connect to my app, but I don’t know how I can check to see if a connection has been opened using TLS.

    For example, when someone uses the InteliJ plugin to connect to my kdb proc I want to check if the user is an LDAP user (I have this specified in a csv config) an then I want to check if the connection is using TLS. If user is LDAP, but no TLS, reject connection.

    I know that if a connection comes from a kdb proc, I can use “.z.e”.

    Is this even possible? If it is not possible, does this mean I will have to use a 2-way verification in which client verifies server certs and server verify client certs?

    user931206 replied 1 week, 6 days ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.