property

quic.SessionOptions.rejectUnauthorized

rejectUnauthorized?: boolean

If true, the peer certificate is verified against the list of supplied CAs. An error is emitted if verification fails; the error can be inspected via the validationErrorReason and validationErrorCode fields in the handshake callback. If false, peer certificate verification errors are ignored.