PrejectUnauthorized
Bun

property

tls.BunConnectionOptions.rejectUnauthorized

rejectUnauthorized?: boolean

If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.