Skip to content

nooschain v0.1.0


nooschain / net/tls-config / NoosTlsConfig

Interface: NoosTlsConfig

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

Normalized TLS settings loaded from environment variables.

Properties

caPath?

optional caPath?: string

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

CA bundle used to verify peers and mTLS clients.


certPath?

optional certPath?: string

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

Certificate path for HTTPS server identity or mTLS client identity.


enabled

enabled: boolean

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

Whether this endpoint/client should use TLS material.


keyPath?

optional keyPath?: string

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

Private key path matching certPath.


mtlsRequired

mtlsRequired: boolean

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

Whether inbound server paths require a client certificate.


rejectUnauthorized

rejectUnauthorized: boolean

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

Whether outbound clients reject invalid/self-signed peer certificates.


serverName?

optional serverName?: string

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

Optional TLS server name override for outbound verification.

Audience-first NOOSChain documentation.