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



TLS and mutual TLS (mTLS) configuration for secure broker connections.

<Cards>
  <Card title="TLS Setup" href="/sdks/ruby/how-to/tls/tls-setup">
    Connect to KubeMQ with server TLS verification
  </Card>

  <Card title="mTLS Setup" href="/sdks/ruby/how-to/tls/mtls-setup">
    Connect with mutual TLS (client certificate authentication)
  </Card>
</Cards>
