nooschain / net/tls-config / NoosTlsConfig
Interface: NoosTlsConfig
Defined in: net/tls-config.ts:15
Normalized TLS settings loaded from environment variables.
Properties
caPath?
optionalcaPath?:string
Defined in: net/tls-config.ts:23
CA bundle used to verify peers and mTLS clients.
certPath?
optionalcertPath?: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?
optionalkeyPath?: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?
optionalserverName?:string
Defined in: net/tls-config.ts:29
Optional TLS server name override for outbound verification.