Interface: MTLSConfig
Defined in: src/types/interfaces/zero-trust.interface.ts:412
mTLS configuration.
Properties
certificate
readonlycertificate:string
Defined in: src/types/interfaces/zero-trust.interface.ts:450
Server certificate (PEM encoded).
certificateChain?
readonlyoptionalcertificateChain: readonlystring[]
Defined in: src/types/interfaces/zero-trust.interface.ts:460
Certificate chain (PEM encoded).
cipherSuites?
readonlyoptionalcipherSuites: readonlystring[]
Defined in: src/types/interfaces/zero-trust.interface.ts:427
Allowed cipher suites.
Remarks
Should use AEAD ciphers only.
clientCAs?
readonlyoptionalclientCAs: readonlystring[]
Defined in: src/types/interfaces/zero-trust.interface.ts:445
CA certificates for client verification (PEM encoded).
minVersion
readonlyminVersion:"TLSv1.2"|"TLSv1.3"
Defined in: src/types/interfaces/zero-trust.interface.ts:419
TLS protocol version.
Remarks
Should be 1.3 for Zero Trust.
privateKey
readonlyprivateKey:string
Defined in: src/types/interfaces/zero-trust.interface.ts:455
Server private key (PEM encoded).
requireClientCert
readonlyrequireClientCert:boolean
Defined in: src/types/interfaces/zero-trust.interface.ts:435
Whether to require client certificates.
Remarks
True for mTLS, false for server TLS only.
verifyClient
readonlyverifyClient:boolean
Defined in: src/types/interfaces/zero-trust.interface.ts:440
Whether to verify client certificate.