Skip to main content
Version: v0.0.3

Variable: MLLP_TLS_VERIFY_DISABLED

const MLLP_TLS_VERIFY_DISABLED: "MLLP_TLS_VERIFY_DISABLED" = "MLLP_TLS_VERIFY_DISABLED"

Emitted (client-side) on every successful secureConnect, initial connect AND every reconnect, when TlsOptions.allowUnverified is true. Certificate verification is disabled for the connection; this is the loud, per-connection reminder that the channel is not authenticated per IHE ATNA ITI-19 (https://profiles.ihe.net/ITI/TF/Volume2/ITI-19.html).

Example

import { MLLP_TLS_VERIFY_DISABLED } from '@cosyte/mllp';
client.on('securityWarning', (w) => {
if (w.code === MLLP_TLS_VERIFY_DISABLED) metrics.increment('mllp.tls_verify_disabled');
});