Skip to content

nooschain v0.1.0


nooschain / net/tls-config / assertTlsConfigSafe

Function: assertTlsConfigSafe()

assertTlsConfigSafe(config, productionMode): void

Defined in: net/tls-config.ts:57

Enforces TLS safety rules before a server/client starts.

Production refuses plaintext and refuses disabled certificate verification. TLS mode always requires certificate/key paths, and mTLS requires a CA.

Parameters

config

NoosTlsConfig

productionMode

boolean

Returns

void

Audience-first NOOSChain documentation.