JobQueueOptions.tls property

Encrypts the broker connection with TLS. true connects with Node's defaults, verifying the broker against the system trust store; an object is handed to tls.connect() as given, so supply ca for a private certificate authority and cert with key for mutual TLS.

Signature:

tls?: IMQOptions['tls'];

Default Value

undefined

Remarks

The broker must be listening for TLS. One that is not will refuse the handshake rather than fall back to plaintext, so a queue never quietly downgrades.

Leave it unset and @imqueue/core consults the environment instead — IMQ_REDIS_TLS and its companions — which lets a deployment encrypt every job queue it runs without a code change. Pass false to decline that fallback.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.