# TLS & mTLS Examples (/sdks/nodejs/how-to/tls)



Secure your KubeMQ connections with TLS encryption and mutual TLS (mTLS) authentication using the Node.js SDK.

<Cards>
  <Card title="TLS Setup" href="/sdks/nodejs/how-to/tls/tls-setup">
    Configure server-side TLS encryption with CA certificate verification
  </Card>

  <Card title="mTLS Setup" href="/sdks/nodejs/how-to/tls/mtls-setup">
    Mutual TLS authentication with client and server certificates
  </Card>
</Cards>
